Results 1 to 5 of 5
Thread: Dynamic GUI
- 08-07-2009, 04:56 AM #1
Member
- Join Date
- Aug 2009
- Posts
- 3
- Rep Power
- 0
-
Yep, there certainly are ways, but the specifics of how you would do it for your app will depend on the structure of your program and GUI. Have you gone through the Sun tutorial on radio buttons as well as most of the other sun Swing tutorials? They will show you how to do this and other things.
If you still need help though, perhaps you could post a small compilable program that demonstrates what you are trying to do, and then we can help you with it. Best of luck.
- 08-07-2009, 10:41 PM #3
Member
- Join Date
- Aug 2009
- Posts
- 3
- Rep Power
- 0
Yes I have. Are you familiar with the Resource Bundle? I would like to use two classes like you would to load resources for a language but my resources are Intel and AMD pocessor types versus let's say English and German. Are you following what I mean? I want to populate radio button text dynamically based on the user slecting AMD or Intel from a JComboBox.
-
Great! Then you should be all set to go.
Yep, and the Property classAre you familiar with the Resource Bundle?
This should all be do-able, though perhaps not with Resource Bundles per sé since they're built to be used with locales. Perhaps a Property class would work or other data file.I would like to use two classes like you would to load resources for a language but my resources are Intel and AMD pocessor types versus let's say English and German. Are you following what I mean? I want to populate radio button text dynamically based on the user slecting AMD or Intel from a JComboBox.
You might want to create a small test program as a proof of concept to either get this thing working or to show where it's not working for you.
- 08-08-2009, 02:50 AM #5
Member
- Join Date
- Aug 2009
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
dynamic inherence
By itaipee in forum Advanced JavaReplies: 6Last Post: 02-07-2009, 01:05 PM -
Dynamic Table using JSP
By banie in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 08-27-2008, 03:13 AM -
Dynamic JTable
By eftenpuften in forum AWT / SwingReplies: 0Last Post: 07-24-2008, 03:41 PM -
Dynamic DecimalFormatter
By felixtfelix in forum New To JavaReplies: 0Last Post: 03-17-2008, 04:16 PM -
dynamic update in swt
By sandor in forum SWT / JFaceReplies: 0Last Post: 05-14-2007, 08:32 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks