I have two cardLayout panels which act similar to two separate pages with the one in use added to the JFrame, how would I switch between the two, should I have a super cardLayout panel which is added...
Type: Posts; User: keepStriving
I have two cardLayout panels which act similar to two separate pages with the one in use added to the JFrame, how would I switch between the two, should I have a super cardLayout panel which is added...
I've used a card layout too , though I need to introducing some form of nested panels I think to get labels to stack vertically on top of each other instead of getting labels going horizontally which...
Is there no way I can reference to see if there is a certain label present and if so remove it rather than needing to update the whole page?
--- Update ---
I've used label.setText(), which is...
I've drawn out what I want just struggling with how to implement layouts. I'm trying to keep it simple which is why even though gridbag layout is probably the most useful I need to first understand...
sorry, forgot to mention, I added the buttons and text area to a panel, so I spilt the whole layout into 3 panels. One is located at NORTH, one at CENTER and one at SOUTH. I tried adding another...
I want to create a simple JFame though struggling to get to grips with layouts.
This is what my JFrame looks like:
NORTH:
JTextArea JButton
CENTER:
...