JSpinner_Implementation

Hi All,

I have One MenuBar in that having 20 Menu's and each menu

having the Number of menu items (nearly 20 to 100 ) . Here

my problem is I need to implement the JSpinner for the JMenuItems.

How to implement this .can any body have idea pls suggest me.

Thanks

Thanks

[313 byte] By [vasmhi_1981a] at [2007-11-27 8:24:39]
# 1
Since JSpinner is a subclass of Component doing a simple myMenu.add(mySpinner) should work.
Joerg22a at 2007-7-12 20:13:47 > top of Java-index,Desktop,Core GUI APIs...
# 2
Hi ,thanks for the reply Please can u send me the code snippet to how to implent the same ?or Example codeThanks in advance
vasmhi_1981a at 2007-7-12 20:13:47 > top of Java-index,Desktop,Core GUI APIs...
# 3

> Please can u send me the code snippet to how to implent the same ?

You where given a code snippet. Its one line of code.

If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",

see http://homepage1.nifty.com/algafield/sscce.html,

that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

Don't forget to use the "Code Formatting Tags",

see http://forum.java.sun.com/help.jspa?sec=formatting,

so the posted code retains its original formatting.

camickra at 2007-7-12 20:13:47 > top of Java-index,Desktop,Core GUI APIs...