?
Solved

Native Win32 look-and-feel question

Posted on 2004-11-08
2
Medium Priority
?
229 Views
Last Modified: 2010-08-05
Hello experts!
I'm new to Java. Is it possible to make a Win32 .exe file with Java that have the look-and-feel of a native Win32 application?

The Bittorrent client Azureus was created using Java? http://azureus.sourceforge.net
Does anyone know which compiler and Java libraries was used for creating the Azureus.exe?
When I use Eclipse to make a simple Swing sample program the interface looks much less like a Windows program than Azureus does?
How can I make a program that looks like Azureus?
0
Comment
Question by:rj2
2 Comments
 

Accepted Solution

by:
nassef earned 600 total points
ID: 12528056
Hi,
You have to use SWT and compile with GCC.
You will have a win32 exe app that look exactly like any other win app, you will have no need to have jre installed on the machine. The final exe is bout 1.5Mb though even for hello world :)
hope this help
0
 
LVL 24

Assisted Solution

by:sciuriware
sciuriware earned 400 total points
ID: 12530802
The look and feel of a JAVA program has nothing to do with the IDE you're using.
I deploy ECLIPSE and enforce MSWindows look and feel this way:

            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            JFrame.setDefaultLookAndFeelDecorated(true);
            JDialog.setDefaultLookAndFeelDecorated(true);
<*>
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question