Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to open an exe within the internalframe

 
Haricherrytec krishnan
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankyou PraveenBalaji for your Prompt Reply
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It *might* be possible using a Java - ActiveX bridge.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic