cardlayout Questions

2

I'm a java newbie... I need to know how to reload a JPanel? I extended the JPanel class and created a panel that will run in a cardlayout in an Applet. I want this panel to reload/refresh after the...
Yogh asked 12/7, 2013 at 6:6

14

Solved

To put it simple, there's a simple java swing app that consists of JFrame with some components in it. One of the components is a JPanel that is meant to be replaced by another JPanel on user action...
Manumit asked 20/10, 2008 at 11:53

6

Solved

I am new to Android programming and was working on a card layout. I was wondering, how do I make it clickable? android:clickable="true" android:foreground="?android:attr/selectableItemBackground"...
Anchises asked 22/11, 2014 at 23:38

5

Solved

I do not know where Exactly i Should Adress this issue, if it is my fault, there is something in the Picasso Lib Wrong or in the Cardview Library. Basicly i have a CardView containing an image (Fu...
Anomalism asked 24/10, 2014 at 16:37

1

Solved

I have a pretty basic GUI organized with a GridBagLayout. The most complex portion is the bottom where West is populated with ScrollPane and the right is a panel with a CardLayout that has multiple...
Chimney asked 3/4, 2016 at 15:13

2

I got the jar file of Card View from sdk\extras\android\m2repository\com\android\support\cardview-v7\21.0.0-rc1 and I tried the example from this link1 and link2 I was able to do for Recycler b...
Sinegold asked 16/7, 2014 at 7:34

4

Solved

Is it possible to get the top card in Java's CardLayout? I've tried looping through each component to check for visibility with isVisible() but it seems that they're all "visible". Edit: By "top c...
Bisset asked 10/12, 2010 at 20:58

1

Solved

Preface (this is a self-answer post) I've gotten my feet wet with Netbeans GUI Builder but I am just not starting to dive in to it to learn the more intricate details. I really didn't even know ho...
Wyckoff asked 20/2, 2014 at 4:52

1

Does anyone know how to work with the Card Layout in the NetBeans GUI builder tool? I want to show panels as per the JRadioButton selection, so I want to lay this out using the Card Layout.
Pacemaker asked 13/11, 2009 at 12:59

1

Solved

Hi Im sorry if this has already been posted but I looked hard and found other codes that I could not understand very well. I am new to java programming and would like someone to point me in t...
Psychodynamics asked 11/2, 2013 at 22:16

4

Solved

I have a JFrame containing a set of JPanels in a CardLayout. Each JPanel has a different size and I want the JFrame to adapt to the size of the currently displayed JPanel (not the JPanel to adapt t...
Rea asked 26/11, 2011 at 10:35

1

Please I have been trying to switch CardLayout from another class (JPanel) which is one of the card on the CardLayout, I have search and made research about this for a very long time but found noth...
Bougainville asked 14/11, 2012 at 10:50

2

Solved

How can I get the string identifier of the selected panel in card layout.
Suziesuzuki asked 28/6, 2011 at 11:49

2

Solved

I looked at a code example that used this code: 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 t...
Buccal asked 30/5, 2012 at 19:59

2

Solved

There have been many times on StackOverflow where a user asks a question like this... I have a main JPanel that contains a child JPanel. When the user clicks a button, the child JPanel should c...
Ibby asked 22/5, 2012 at 1:6

2

Solved

I've got 3 windows in 3 separate classes and I would like to use cardLayout so that when you click the next button, the next window will appear. How do I add JPanels containing different elements t...
Butyrate asked 17/2, 2012 at 3:29

3

Solved

I have the following code: package in.res.num.tapb.ui; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.event.Actio...
Afterlife asked 14/8, 2011 at 19:47

1

Solved

In dialog I need to display one group of controls if some combo is checked and another group of controls otherwise. I.e. I need 2 layers and I need to switch between them when combo is checked/unch...
Anthill asked 21/6, 2011 at 21:23

1

Solved

I Googled for a lot, and no solutions found. I think there shall be java masters to help me out ... This is my initialize method: private void initialize() { this.setSize(750, 480); this.setC...
Unheard asked 30/5, 2011 at 11:50

1

Solved

is it possible to change the size of Jpanels when using Java CardLayout?
Lancer asked 24/3, 2011 at 2:44
1

© 2022 - 2024 — McMap. All rights reserved.