I have a few JPanels stacked under a mainPanel via CardLayout under Netbeans 7.Now for some weird reason I can\'t get any of these JPanels to maintain a setPreferredSize of [600,400] and most annoying
I\'ve implemented a count down timer(in function) which updates a label in swing panel every second this is the code:
I have the following code: package in.res.num.tapb.ui; import java.awt.BorderLayout; import java.awt.CardLayout;
Ok me again i need help. For some reason when i click a button the button dissapears but not the panel
Ok so im working on this game in ja开发者_运维问答va called 8 bit chimera. Im working on the main menu right now but when im using the card layout the window wont open for some reason. Here is some co
Sorry for the vague title, I am trying to layout an application i have unfortunately starting coding without following proper MVC architecture rules. I have an application that has the following struc
How can I get the string identifier of开发者_如何学C the selected panel in card layout.The CardLayout does not know what the currently selected panel is.
In dialog I need to display one group of controls if some combo is checked and another group of controls othe开发者_Python百科rwise.
I have a JTextField inside a JPanel A which is a part of CardLayou开发者_C百科t. When this A gets shown, I want to set the focus automatically to the JTextField (i.e. the cursor is flashing in the tex
I have a CardLayout in which I add cards only as needed. So, when the need arises to show a particular card (identifed by its name), I need a way to check if a card with that name is already present,