Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

How to add swing components that auto format?

  Asked By: Nicole    Date: Jan 20    Category: Java    Views: 832
  

I'm creating a Java app with some simple Swing GUI elements, like
Spinners and Combo boxes. Right now I'm using JBuilder 2005 Ent. trial
to do my work.

So far, I haven't found any way to get these GUI elements to auto
format in runtime. It seems to me that these things ought to be set up
by the JVM at runtime so as to match the user's Desktop preferences
for font and size. Am I missing something here? Is there a way to do
this? If so, please let me know.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Timothy Patterson     Answered On: Jan 20

Your question should be more specific cuz I do not
think anyone can understand what you wnat. ;)
But if i am correct you asking if you could embed some
formatting into a code so the JVM doesnt change them?
If so then sure the are formats, such as Font format,
when you declare your font object you can setup hard
font so it is that font only and that size only.

 
Didn't find what you were looking for? Find more on How to add swing components that auto format? Or get search suggestion and latest updates.




Tagged: