?
Solved

Java Swing to Native Code

Posted on 2003-02-25
3
Medium Priority
?
230 Views
Last Modified: 2013-11-23
I made a java applet which uses swing using MS visual studio.  I wish to convert this to a .exe file.  I go to the project properties and tell it how to package it and which files to include.  It shows that it is including some of the swing files, but not all the necessary ones.  I've tried, correctly I think, to use the add additional files option to add all the swing files, but that doesn't work.  
When I deploy the applet and then try to run it says that not all class files could be loaded.
If I unzip the swing.jar file and put the resuling javax file in the same directory the program will run.  

How can I make this swing applet run in native code so I can just send somebody a simple .exe file.
0
Comment
Question by:itbeme
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
shji1 earned 200 total points
ID: 8018239
As far as I know you will need a third-party tool (like Excelsior JET - http://www.excelsior-usa.com/jet.html) in order to create an exe file.
This dealing with J++ is a huge headach that usually doesn't work.
--
0
 
LVL 1

Expert Comment

by:shji1
ID: 8018271
And another thing, you might wanna test the exe on a computer witout Excelsior Jet installed. My experience with that software forced me to add a dll with the exe.
You might find better tools then that...
--
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 8018300
>>When I deploy the applet

the 'applet'?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

800 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