|
-
July 4th, 2005, 06:17 AM
#1
Add a JChooserColor to a JMenuItem
Hi to all ! i am a newbie and i don't know a lot of things..i am making a programm..i have make JMenuBar(i am working with netbeans) and i have add some JmenuItems...i want to know how can add a JChooserColor to an item so the user can choose the color he wants for the background!!
I make an example-----> File | Edit | Options
-------------------------
-----------------------------------> ColorChoose--->?????
(ColorChoose is an item of Options )
where the ??? i want to put the JfileChooser class so the user can see the colors..i mean when he puts the mouse over the ColorChoose then opens a window to the right side with the background colors!
or i have to make another class and when he goes to ColorChoose opens the new interfacce and connect them so he can select the color?
i am so sorry about my english!! i am from greece so i don't speak very well english!! i hope that i have made to understand what i want!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|