There shouldn't be a need to call these methods from the main method, which actually exists as soon as your code creates the GUI. Call it from the EDT, for instance within the actionPerformed method,...
Type: Posts; User: copeg
There shouldn't be a need to call these methods from the main method, which actually exists as soon as your code creates the GUI. Call it from the EDT, for instance within the actionPerformed method,...
Did you call repaint on the parent container? If yes, and it didn't work, I recommend trimming your code down to an SSCCE to illustrate your issue more clearly
I might be the only one, but I have no clue what you are asking. Do you want to just repaint a component? Call repaint() from the appropriate location, or perform the appropriate method calls to...