I have got a form in Java (Swing) loading large amount of data from the database. I want to display a progress bar while the program gets actually loaded.
How can i do it??
i have got a label in my program which displays a image. The problem id if an image is selected which is greater than the size of the label,only some part of the image is displayed while others are not displayed.
What should i do so that the enire image is displayed???
I have got a program having an array of buttons, each of these button has their mouselistener event.
Now, how can i find which of the buton is clicked through the mouse listener.
I have tried to link one form to another. As i click the button in 1st form to call another form, the other form does not stop for entering values. How can i stop that form ???
I have a program where i have a button to change the background color to red and another button to set back the default panel color.
How do i get back the default color for panel??