A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Swing / AWT / SWT
Joined: Dec 10, 2002
Mar 13, 2003 18:58:00
How can you style the text inside a
whose model is a
I have tried setting the font of the Jspinner
object but nothing takes.
Joined: Sep 28, 2000
Mar 14, 2003 04:08:00
you have to set the font of the editor of the jspinner.
JTextField field = (JTextField)jSpinner.getEditor(); field.setFont(/* ... */);
I agree. Here's the link:
subject: JSpinner question
Decimal Format is not setting the value in text field correctly.
Validation for Textfield
Set range value for JTextField?
What's the name of a GUI control with 2 arrows...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015