The moose likes Swing / AWT / SWT and the fly likes to open an exe within the  internalframe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "to open an exe within the  internalframe" Watch "to open an exe within the  internalframe" New topic
Author

to open an exe within the internalframe

Haricherrytec krishnan
Greenhorn

Joined: Jan 23, 2006
Posts: 6
Sir,

I have Frame with JMenubar,when i click "menuitem New" a new "InternalFrame" and notepad.exe will open as a seperate Enitity.But what i want is notepad.exe should open within my internal Frame not as a seperate Enitity.Any way to go for it.

Thankyou
Harikrishnan J.
Praveen Balaji
Ranch Hand

Joined: Jun 17, 2001
Posts: 60
You cannot open Notepad in Swing - at least not using the regular Swing API (I dont know if you can, otherwise). But if what you want to do is enter some text into a widget, you can consider using other swing widgets like JTextArea.

Sun Tutorial on using TextArea
Haricherrytec krishnan
Greenhorn

Joined: Jan 23, 2006
Posts: 6
Thankyou PraveenBalaji for your Prompt Reply
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
It *might* be possible using a Java - ActiveX bridge.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: to open an exe within the internalframe