A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
JPanel and DOS
Joined: Mar 07, 2004
Jul 11, 2004 14:08:00
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?
Joined: Jul 11, 2001
Jul 11, 2004 21:58:00
If you mean the
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 - Experts at Building Test Data
I agree. Here's the link:
subject: JPanel and DOS
DOS command window
keyboard input and graphic window
hiding DOS screen
run dos window in minimized mode
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014