Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

amature question :)  RSS feed

 
Shay Gaghe
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
How can I control the size of the JscrollPane’s scrolling border?
Code example please !
What third-party software can I use to build GUI for java cpode ?
Thanks Shay
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
about the gui question.
u can use many IDE for gui:
some around are JBuilder, and Visual Cafe.
but if u want a free one, then forte that comes with the j2se is a good one also.
 
Frank Hale
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
netbeans can build GUI's.
 
Terence Doyle
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
The easiest way to change a component's features is to alter the UIDefaults contents like this

The problem with this is that you have to do all the components one by one and it can get difficult to maintain.
Another way is to create a LookAndFeel that extends MetalLookAndFeel and make the adjustments inside that class. Then you can change primary colors, component borders etc for the whole application with a few lines of code.
Hope that helps,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!