Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help Needed For Resizing of Swing Comp  RSS feed

jignesh patel
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All!
Can anybody help me out.......................I'm facing problems in scaling some components through code in runtime.
Prob. 1: I am increasing the size and font of a JComboBox in Runtime. if i click on ComboBox, in the drop down all items are of smaller fond and as soon as i select an item, after getting selected it gets bigger. How to make all drop down items of ComboBox gets scaled according to font size(scaled one) of JComboBox.
Prob. 2: I am increasing the size and font of a JTextField in runtime. But still the font of tool tip text remaining small. How to scale it accordingly.
Prob. 3: How to increase the size of Title bar and font of title of a JDialogBox.
Prob. 4: How to increase the font size of Informational messase and size of buttons of JOptionPane during runtime.
Prob. 5: I'm increasing the dimensions of a button in runtime The button has an icon on it. Is it possible to scale the Icon also accordingly.
Prob. 6: In scaling a JTable i'm scaling font size, row height, and header..............How to scale Scroll bars of the table
Any help or suggesion would be of great use to me.
Thanx in advance,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!