-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
Is there a way to hide a jButton in Netbeans? (similar to button.visible = false in VS)
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello there,
I have 5 JButtons: b1, b2, b3, b4, b5.
By default, their color is gray.
When I click on any button, the background of that button changes to white.
When I click another button, I want that previous clicked button to change its background to gray, and this newly clicked button to change…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I'm super new to Java, and in need of some help.
I'm making a little java desktop application where I basically have a grid of 4 JButtons ( 2 x 2 grid), and I need the background colour of individual JButtons to change, and after one second, change back to the original colour (the game I'm trying…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I finally found how to make an exe project in Netbeans, so a jar file and execute it from the DESKTOP.
The only problem I have ocurred is that after I open the jar file and login with my username and password the button icons are not shown, if I put a string it appears but if I put the image it doesn't…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have made this calculator program in Java. This works well only when two numbers are calculated at one time. That means to get the sum of 1+2+3 you have to go this way :
press 1
press +
press 2
press =
press +
press 3
press =
and it calculates it as 6.
But I want to program this so that I can…
>>> More