This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 118121 - Card Name to class constant
Summary: Card Name to class constant
Status: RESOLVED DUPLICATE of bug 32367
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-08 16:47 UTC by flaxxed
Modified: 2007-10-09 13:02 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description flaxxed 2007-10-08 16:47:59 UTC
It would be nice to be able to do user code when assigning a panel (card) a name when using a CardLayout.  Right now,
all you can enter in is a String.  In my programs, I often create a String constant that serves as the card name for a
panel in a card layout so that I can reference the constant in my code as I show the panel programmatically and not via
the Next option that a CardLayout gives you.
Comment 1 Tomas Pavek 2007-10-09 13:02:28 UTC
I agree this should be possible.

*** This issue has been marked as a duplicate of 32367 ***