1 Replies - 254 Views - Last Post: 26 February 2012 - 12:14 AM Rate Topic: -----

#1 ImaJavanoob  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 25-February 12

Terminal style program

Posted 25 February 2012 - 10:34 PM

Hey guys, I have the idea of creating a custom Java terminal, I know what I need to do for commands, etc, but I have no idea on how to style it like someone would with a UNIX terminal/Windows Command Prompt, or prompt it so that whenever a new line is entered (besides within a command), it will come up as like

If anyone is able to help me out a bit, post here or personal message me.
Is This A Good Question/Topic? 0
  • +

Replies To: Terminal style program

#2 smohd  Icon User is offline

  • Critical Section
  • member icon

Reputation: 1821
  • View blog
  • Posts: 4,627
  • Joined: 14-March 10

Re: Terminal style program

Posted 26 February 2012 - 12:14 AM

User is going to the next line using Enter key, so that is the one to listen to, now you will have a string that will be saving the directory user is at that time, and if user click enter, you check if it is appropriate to add the string...and if so add a string to a new line generated.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1