Author Topic: XConsole  (Read 35790 times)

0 Members and 3 Guests are viewing this topic.

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: XConsole
« Reply #60 on: December 28, 2010, 04:25:40 pm »
Hmmm. It appears that if I have not already specified a way to execute a command, then it executes it using the system. That is OK, but then if your system doesn't support a command, that makes it less cross-platform. That is why I am building in the commands. So they can be executed anywhere.
Also, what platform are you on?
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: XConsole
« Reply #61 on: December 28, 2010, 06:14:59 pm »
More updates:
 -more commands added
 -sidebar!!!! (use the View menu)
 -better icon (it is my avatar)

Next:
 -Help file
« Last Edit: December 28, 2010, 06:15:28 pm by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: XConsole
« Reply #62 on: December 28, 2010, 10:53:57 pm »
I'm stuck. I can not for the life of me figure out how to make a PAUSE function. I can't figure out how to get it to detect keypresses on the frame and it's child objects! AARRRRGGGGGHHHHH!!!!!!!!!!!!!!!!  :banghead:
* Binder News is V E R Y F R U S T R A T E D
« Last Edit: December 28, 2010, 10:54:29 pm by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: XConsole
« Reply #63 on: December 29, 2010, 02:06:13 pm »
Well, the easiest way to get it to detect key presses is to add action listeners. Only the action listener that corresponds to the object with focus should receive a key event. You can see if you have focus, too, by one of the methods in the classes.

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: XConsole
« Reply #64 on: December 30, 2010, 12:35:37 am »
I know. I just can't figure out how to make it so that EVERYTHING generates a KeyEvent, disabled or not. I just had an idea though...

EDIT: By the way Graph, I was at Mall of America today, and I saw your avatar on a sign
« Last Edit: December 30, 2010, 12:36:29 am by Binder News »
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: XConsole
« Reply #65 on: December 30, 2010, 12:39:49 am »
I know. I just can't figure out how to make it so that EVERYTHING generates a KeyEvent, disabled or not. I just had an idea though...

EDIT: By the way Graph, I was at Mall of America today, and I saw your avatar on a sign

could you go into more detail? or provide some source i could try to figure out how to make it work.


Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: XConsole
« Reply #66 on: December 30, 2010, 12:48:46 am »
Attached is the source.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: XConsole
« Reply #67 on: December 30, 2010, 01:01:11 am »
I know. I just can't figure out how to make it so that EVERYTHING generates a KeyEvent, disabled or not. I just had an idea though...

EDIT: By the way Graph, I was at Mall of America today, and I saw your avatar on a sign
That's because his avatar is some sort of graphical code like barcodes. It could have easily been something else.

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: XConsole
« Reply #68 on: December 30, 2010, 11:18:27 am »
Ah, cool.

Anyways, if anyone wants to be a MAJOR help, they can write a routine to find color codes within outputted text, and add them to the output with the color. I am now using a JTextArea for the output.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: XConsole
« Reply #69 on: December 30, 2010, 12:46:31 pm »
I know. I just can't figure out how to make it so that EVERYTHING generates a KeyEvent, disabled or not. I just had an idea though...

EDIT: By the way Graph, I was at Mall of America today, and I saw your avatar on a sign
My avatar? You mean the qr code (which might change soon)?

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: XConsole
« Reply #70 on: December 30, 2010, 01:49:24 pm »
Yeah, I saw one. So, will you help with color?
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: XConsole
« Reply #71 on: December 30, 2010, 02:30:35 pm »
Yeah, I saw one. So, will you help with color?

what's the problem? you don't know how to set it or you don't know how to parse it?


Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: XConsole
« Reply #72 on: December 30, 2010, 05:19:35 pm »
Yeah, I'm not writing that for you at all. That's kinda a pain to do in some ways. But, nemo gave you good links (to javadoc, I would still search for some tutorials).

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: XConsole
« Reply #73 on: December 30, 2010, 05:59:31 pm »
Yeah, I use javadoc a TON. My internet has been down for a few hours. Really random.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: XConsole
« Reply #74 on: December 30, 2010, 07:43:52 pm »
We are having MAJOR internet problems (access is very sporadic), so I won't be posting many updates.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results: