aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JPanel and DOS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JPanel and DOS" Watch "JPanel and DOS" New topic
Author

JPanel and DOS

Atrus Greyor
Ranch Hand

Joined: Mar 07, 2004
Posts: 110
Is it possible to put a DOS window into a JPanel? If it is possible will it still have the same funcitions as a regular DOS window?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

If you mean the actual DOS Command prompt, then no. You could emulate one using a JTextArea and issue commands through Runtime().exec(...).

I guess the real question is why do you want to do this?


GenRocket - A Test Data Generation Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JPanel and DOS
 
Similar Threads
hiding DOS screen
run dos window in minimized mode
DOS command window
keyboard input and graphic window
winipcfg cmd