Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
Java Form
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-09-2009, 09:10 PM
Draucia
 
Posts: n/a
Default Java Form

I have a simple question:

Can java make ordinary looking forms? All the java applications I see have this java type form, this java type file browse tool.



Tic tac toe game made by suf.

Can java have a form like the one on the right?

Last edited by Draucia : 12-09-2009 at 09:10 PM.
Reply With Quote
  #2  
Old 12-09-2009, 10:03 PM
Legend
Java Programmers Pirate
 
Join Date: Jan 2007
Posts: 10,942
<3 n4n0
Default Re: Java Form

You can set the look and feel of it.... Jimmy does it a lot... I never have because I don't care. InbeforeJimmy.
__________________
PM me with any issues.

I do not MM or trade anything.
Anyone claiming to be me in a trade or MM is an imposter.
Reply With Quote
  #3  
Old 12-18-2009, 02:11 AM
Member
 
Join Date: Dec 2008
Posts: 96
Default Re: Java Form

google java lookandfeel
Reply With Quote
  #4  
Old 12-20-2009, 01:03 AM
Jimmy's Avatar
Leecher
Ex-Moderator $5 USD Donor
 
Join Date: Jun 2008
Location: Southern California
Posts: 2,359
Default Re: Java Form

Quote:
Originally Posted by SuF View Post
You can set the look and feel of it.... Jimmy does it a lot... I never have because I don't care. InbeforeJimmy.
I lol'ed.

First of all, the first window is seen under the Aero theme on Vista, whereas the second is seen on Windows XP. This accounts for the clear frame, as opposed to the blue one. This can be observed in Java programs that don't change the LookAndFeel at all (Example: JMacro back in 2007). If you want your Java applications to have a more native-looking LookAndFeel, as opposed to the default MetalLookAndFeel (the cross-platform one), then you have several options.
  • Use AWT. The downside to this is that most of your components will look rather old.
  • Use SWT. The downside to this is that you have to include external libraries with your application. This, like AWT, is a wrapper to native GUI components, however these generally look more modern than AWT components.
  • Use Swing, but call the setLookAndFeel() method in the UIManager class. This is probably the easiest solution, as you can still make all of your GUI in Swing. The code for doing this would be placed before you create your GUI, and would be something along the lines of:
    Code:
    UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());

Hope I helped.
__________________
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 03:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1