Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2008, 06:37 AM
Member
 
Join Date: Apr 2008
Posts: 2
Heracles Choe is on a distinguished road
Java Application Interface similar with Windows Themes
Hi
I'm a beginer to develop application using Java.
But I have some problem using Java.
The dialogs and menu bar and so on is not similar with Windows XP/VISTA.
What i say is that the application which is made by Java differs from Windows Application.
I wanna solve this problem.
Is this available?
Help me

Last edited by Heracles Choe : 04-07-2008 at 10:51 AM.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-09-2008, 12:32 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 1,294
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
First of all, welcome to our community.

Actually what you have say is not correct. If you the javax.swing package, all the component looks similar to the operating systems themas.

Can you post a code you have workout.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Want to make your IDE the best?Vote Now
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-26-2008, 05:28 AM
Member
 
Join Date: Apr 2008
Posts: 2
Heracles Choe is on a distinguished road
AWT/Swing
The Java source what i work is made by using AWT.
but the app ui is not so good.
so What i want is changing themes of Apps which is based on AWT not swing.
Is this available?
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 04-28-2008, 05:34 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 1,294
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
I don't think it is possible.

Why don't you workout with Swing? Anything you have done using AWT, possible to do in Swing too.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Want to make your IDE the best?Vote Now
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 04-28-2008, 07:49 AM
Zosden's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 221
Zosden is on a distinguished road
look up ui look and feel and try that you can change the look and feel of your component to look like windows.
__________________
Definition of Impossible = making a good game in Java.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 04-28-2008, 07:57 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 1,294
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Quote:
Originally Posted by Zosden View Post
look up ui look and feel and try that you can change the look and feel of your component to look like windows.
You mean is there a way to make looks like Windows of AWT?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Want to make your IDE the best?Vote Now
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 04-28-2008, 08:38 AM
Zosden's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 221
Zosden is on a distinguished road
I'm not sure about awt but I know it works in swing, I don't really use awt that much.
__________________
Definition of Impossible = making a good game in Java.
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 04-28-2008, 08:51 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 1,294
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Yep, that's what I say in my first post. Normally AWT used for Linux, UNIX systems. AWT interfaces much similar to those OS UI.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Want to make your IDE the best?Vote Now
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 05-01-2008, 09:43 PM
Member
 
Join Date: May 2008
Posts: 6
lonelyShoes is on a distinguished road
To use the LAF used by the native OS:
UIManager.setLookAndFeel(UIManager.getSystemLookAn dFeelClassName());

Code from Sun's Swing Tutorial, look here for more detail.

Yes, this is Swing only, not AWT. And as a user of both Windows and Linux systems: while AWT bore a passing resemblance to GTK a few years ago, GTK looks very different these days. Also, AWT doesn't have to be used on Unix/Linux, those systems will run Swing applications just fine. (I am a Swing developer, and use Ubuntu 8.04 )
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 05-02-2008, 04:47 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 1,294
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Yes, Swing is the solution for Linux. And Unix too. Actually you can use AWT for Linux. Specially in knopix, UI much similar to AWT.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Want to make your IDE the best?Vote Now
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I update a WINDOWS user env variable from my java code ? gavman99 Advanced Java 0 02-06-2008 03:07 PM
Check if Windows application is already open mpiaser Advanced Java 1 12-07-2007 10:56 PM
how to run java app on windows in a cron like on unix rockie12 Advanced Java 5 11-11-2007 07:09 PM
First windows application tha_crazy New To Java 1 08-13-2007 04:22 PM
Help with windows in java lenny AWT / Swing 1 08-07-2007 07:22 AM


All times are GMT +3. The time now is 02:34 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org