This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to open an exe within the internalframe

 
Haricherrytec krishnan
Greenhorn
Posts: 6
  • 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankyou PraveenBalaji for your Prompt Reply
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 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