Results 1 to 16 of 16
- 08-13-2010, 12:28 PM #1
-
If you mean display a GUI application inside of a Swing container, then I think it's possible, but would require an existing third party library or some heroic JNI coding.
- 08-13-2010, 01:43 PM #3
To run an .exe from a java program see the Process and Runtime classes.
I don't know what this part of the question means:
is it possible to load an exe file inside a container?
-
Since he's saying "inside a container" I'm assuming that he wants to display a GUI from within a Java container, but as he doesn't clarify this statement further, any interpretation is possible.
- 08-13-2010, 01:59 PM #5
It takes a crystal ball to see what an OP is asking for. We try to give him all the interpretations we can think of and let him chose one.
- 08-14-2010, 06:52 AM #6
sorry i thought i was clear, Fubarable was right in understanding me.
to use an example. Lets say i wanted to launch mspaint.exe from within my java code and then display mspaint.exe inside my applet.Teaching myself java so that i can eventually join the industry! Started in June 2010
-
- 08-14-2010, 01:13 PM #8
I guess you mean that all the screen I/O GUI from the mspaint program is to be captured by the applet and channeled into the applet's area of the screen.display mspaint.exe inside my applet.
Interesting concept. Definitely a native code project.
- 08-14-2010, 01:26 PM #9
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,413
- Blog Entries
- 7
- Rep Power
- 17
- 08-14-2010, 01:49 PM #10
Like a bunch of mirrors into infinity?
- 08-14-2010, 01:55 PM #11
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,413
- Blog Entries
- 7
- Rep Power
- 17
- 08-15-2010, 12:58 AM #12
the mirror thing is interesting. Im assuming this can be done with class loader and imported .jar files?
Teaching myself java so that i can eventually join the industry! Started in June 2010
- 08-15-2010, 01:03 AM #13
- 08-15-2010, 01:44 AM #14
What do those have to do with an exe file?Im assuming this can be done with class loader and imported .jar files
- 08-16-2010, 04:41 AM #15
- 08-16-2010, 04:42 AM #16
Similar Threads
-
Launch native app inside a JFrame???
By benedums in forum Advanced JavaReplies: 6Last Post: 02-25-2011, 03:23 PM -
How to create a Draggable environment inside JFrame
By chyrl in forum AWT / SwingReplies: 3Last Post: 07-14-2010, 10:34 PM -
Switching JPanels inside JFrame attempt
By frenk_castle in forum AWT / SwingReplies: 7Last Post: 03-31-2010, 08:39 AM -
How to add JFrame inside JPanel
By niteshwar.bhardwaj in forum Java 2DReplies: 8Last Post: 12-13-2009, 08:41 PM -
Centering inside a JFrame
By kahaj in forum AWT / SwingReplies: 9Last Post: 09-23-2009, 07:23 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks