Results 1 to 3 of 3

Thread: JFrame state

  1. #1
    Chasingxsuns is offline Member
    Join Date
    Jul 2009
    Posts
    56
    Rep Power
    0

    Default JFrame state

    Java Code:
    public void actionPerformed(ActionEvent e) {
                frame.setState(Frame.NORMAL);
    I am using a swing Timer for this actionlistener. I want it to bring the window up everytime the action happens. As of now, it does if I click the minimize button. But if I just click to a different window to minimize it, it does not. Is there a way to make the frame pop-up everytime?

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    is this for a JFrame?

  3. #3
    Chasingxsuns is offline Member
    Join Date
    Jul 2009
    Posts
    56
    Rep Power
    0

Similar Threads

  1. Check a key's state
    By CodesAway in forum Advanced Java
    Replies: 0
    Last Post: 11-26-2009, 07:09 PM
  2. Save Scene State
    By quddusaliquddus in forum Advanced Java
    Replies: 1
    Last Post: 09-21-2009, 05:08 PM
  3. Replies: 0
    Last Post: 07-02-2009, 11:42 AM
  4. Time constraints on object state
    By Flipke in forum New To Java
    Replies: 4
    Last Post: 04-11-2009, 07:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •