Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Make A Window Active
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
whoareyou




PostPosted: Thu Jun 21, 2012 1:51 pm   Post subject: Make A Window Active

I am using the HSA Console, and in one of my programs, I am creating two Console objects, both of which require input at a certain time. However, it is a pain to use the mouse to click on the other Console then get the input, and go back to the other Console. I was wondering if there is some kind of code that allows you to make a window come to the front and make it active in Java?
Sponsor
Sponsor
Sponsor
sponsor
DemonWasp




PostPosted: Thu Jun 21, 2012 6:54 pm   Post subject: RE:Make A Window Active

Not with HSA's Console class.

With the standard Java classes (AWT or Swing) and any other UI toolkit out there (SWT, etc), yes. It's either called "bring to front" or "give focus". Neither appears here: http://www.scribd.com/doc/65234478/78/Appendix-C-The-HSA-Console-Class
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: