Results 1 to 1 of 1
- 04-28-2009, 04:06 AM #1
Member
- Join Date
- Apr 2009
- Posts
- 3
- Rep Power
- 0
how to make window active and textfield focused
Hello
I have written a fairly simple program, which takes a textfield entry and uses that to play a video and copy a file. The way I play the video is by a command line call to windows media player. (this program will only ever be run on a windows machine) The problem is, when the program has finished doing this, the wmp window is the active window, and my little jframe is not. thus in order to do it again, one must mouseclick the textfield prior to entering the text.
how do i get my jframe to be the active window and the one textfield in it to be focused, after having sent the video to wmp?
Similar Threads
-
How to make a Jframe un-focusable when another Jframe is active?
By Robert_85 in forum Advanced JavaReplies: 4Last Post: 04-22-2009, 11:02 PM -
To get the current active window`s path using Windows API
By jihadrh in forum Advanced JavaReplies: 8Last Post: 12-01-2008, 02:07 PM -
update textField in a window extending Dialog class
By Ramona in forum New To JavaReplies: 18Last Post: 11-22-2008, 05:25 PM -
Close Active Window (?)
By dcnorman07 in forum New To JavaReplies: 2Last Post: 10-03-2008, 05:55 PM -
Changing Active Window
By jmHoekst in forum New To JavaReplies: 1Last Post: 06-14-2008, 12:21 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks