• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPanel and DOS

 
Atrus Greyor
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic