Results 1 to 2 of 2
Thread: cardlayout question
- 04-05-2010, 11:38 PM #1
Member
- Join Date
- Nov 2009
- Posts
- 90
- Rep Power
- 0
cardlayout question
I have a pretty simple question regarding the cardlayout, but I can't find an answer from the Java Tutorials ... or any of the lame books I have!
Is there a way of returning a string telling me which card in the cardlayout I am on? Cardlayout obviously keeps track of this given the API for this class (e.e.g, next, previous, etc.).
On the subject of books, can someone recommend authoritative books on Java and, more specifically, Swing and AWT?
-
I've not seen this functionality, but I'm not the Swing expert here. You might have to wait to see if camickr or Darryl know of anything more.
I think that most of us have learned this from the Sun Swing tutorials and the forums. Also I recommend a book called Filthy Rich Components by Haase and GuyOn the subject of books, can someone recommend authoritative books on Java and, more specifically, Swing and AWT?Last edited by Fubarable; 04-06-2010 at 12:31 AM.
Similar Threads
-
Question mark colon operator question
By orchid in forum Advanced JavaReplies: 9Last Post: 12-19-2010, 08:49 AM -
Populating CardLayout JPanels with External classes
By fred2482 in forum New To JavaReplies: 5Last Post: 12-21-2009, 06:08 AM -
Unexpected behavior Thread.sleep() is used within CardLayout
By mityay in forum AWT / SwingReplies: 3Last Post: 06-28-2009, 07:18 PM -
Regarding CardLayout
By adeeb in forum AWT / SwingReplies: 1Last Post: 06-07-2008, 07:52 PM -
Using previous with CardLayout
By uncopywritable in forum New To JavaReplies: 2Last Post: 08-05-2007, 09:43 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks