This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JSpinner question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JSpinner question" Watch "JSpinner question" New topic
Author

JSpinner question

jeff culler
Greenhorn

Joined: Dec 10, 2002
Posts: 10
How can you style the text inside a JSpinner
whose model is a SpinnerNumberModel?
I have tried setting the font of the Jspinner
object but nothing takes.
Thanks
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
you have to set the font of the editor of the jspinner.

chantal
 
 
subject: JSpinner question
 
Similar Threads
Validation for Textfield
JWhat
What's the name of a GUI control with 2 arrows...
Decimal Format is not setting the value in text field correctly.
Set range value for JTextField?