Results 1 to 3 of 3

Thread: Java Frames

  1. #1
    Java Unknown is offline Member
    Join Date
    Feb 2011
    Posts
    4
    Rep Power
    0

    Question Java Frames

    hello people,
    m a newbie in java...and i have this requirement for building GUI in java...
    well, i have headed off..but i have some simple and basic unanswered questions:
    1. how do i fix a position of window on the screen (immovable)
    2. Suppose if i don't have a mouse, then how m i supposed to handle the frame with keyboard? also whenever i use mnemonics it is not displaying the underlined mnemonic char in the menu.
    will be thankful if answered to the earliest
    Regards.
    Last edited by Java Unknown; 02-22-2011 at 05:41 AM.

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,755
    Rep Power
    7

    Default

    Fix a position with setLocation method.

    You can add a mnemonic to a button such that alt-A will activate it.

  3. #3
    Java Unknown is offline Member
    Join Date
    Feb 2011
    Posts
    4
    Rep Power
    0

    Question

    thanks a lot Junky....
    actually i wanted keyboard for the basic frame handling like minimize, maximize, select different menus using tab etc... is there any suitable solution??
    Greetings.

Similar Threads

  1. Problem with java frames
    By JavaCy in forum Java Applets
    Replies: 33
    Last Post: 09-13-2010, 03:44 PM
  2. jsp frames
    By vasug in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 04-16-2010, 05:00 PM
  3. Help regarding Frames
    By ramesh.8189 in forum AWT / Swing
    Replies: 14
    Last Post: 02-15-2009, 08:12 AM
  4. What are the hot java frames works on demand
    By mallaravi in forum Web Frameworks
    Replies: 1
    Last Post: 10-28-2008, 01:34 PM
  5. will java webBrowser work with frames
    By elipford in forum New To Java
    Replies: 2
    Last Post: 06-04-2007, 03:26 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
  •