About 214,000 results
Open links in new tab
  1. How to show different cards in a CardLayout? - Stack Overflow

    May 30, 2012 · cl.show(cardPanel, "" + (currentCard)); But when I use show I get a message in Eclipse that it's deprecated and I wonder if there is another way to show the different cards in the CardLayout …

  2. How to effectively use cardlayout in java in order to switch from panel ...

    Jul 2, 2014 · I am new to using cardlayout and I have a few questions on how to implement it. I first would like to know the best way to implement cardlayout so that I can switch from panel to panel. My …

  3. How to use CardLayout with Netbeans GUI Builder - Stack Overflow

    How to Use CardLayout With a new JFrame form, add a JPanel, a few JButtons to the form so it looks like this Your navigator pane should look like this. Notice I changed the variable names. You can do …

  4. java - CardLayout, switch between JPanels by ButtonClick - Stack …

    Apr 6, 2013 · I want to switch between JPanels by clicking buttons on the JPanels. For example: I have a JPanel sim with a JButton simknop and a JPanel help with JButton helpknop I want to switch …

  5. java - Changing Panels using the Card layout - Stack Overflow

    Feb 11, 2013 · Changing Panels using the Card layout [closed] Asked 12 years, 8 months ago Modified 12 years, 8 months ago Viewed 47k times

  6. java - CardLayout for JFrames? - Stack Overflow

    Jan 26, 2016 · Short answer is, don't (switch frames) - See The Use of Multiple JFrames, Good/Bad Practice? for more of a discussion. A CardLayout would generally be a more suitable solution for …

  7. java - CardLayouts: How can I tell which card is visible ... - Stack ...

    Aug 16, 2011 · According to the How to Use CardLayout tutorial, Conceptually, each component that a CardLayout manages is like a playing card or trading card in a stack, where only the top card is …

  8. java - How to use Card layout? - Stack Overflow

    Dec 4, 2014 · I'm having a hard time trying to figure out what is a card layout. I read so many articles and implemented this small example of to see how card layout works. But I can't understand some …

  9. java - CardLayout get the selected card's name - Stack Overflow

    Jun 28, 2011 · How can I get the string identifier of the selected panel in card layout.

  10. Java: CardLayout switching between cards - Stack Overflow

    Mar 23, 2014 · Java: CardLayout switching between cards Asked 11 years, 8 months ago Modified 11 years, 8 months ago Viewed 2k times