Results 1 to 2 of 2
  1. #1
    valery is offline Member
    Join Date
    Jul 2007
    Posts
    32
    Rep Power
    0

    Default how to set full screen dimensions

    I know how to set the size of a JFrame, e.g.:
    Java Code:
     jframe.setSize(new Dimension(400, 600));
    I would like to know how to set the full size of the screen?
    what are the dimensions that I have to set?
    thanks

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    Dimension size = Toolkit.getDefaultToolkit().getScreenSize();

Similar Threads

  1. new screen
    By tha_crazy in forum New To Java
    Replies: 4
    Last Post: 02-16-2011, 11:46 AM
  2. Full Forms of Java Tech
    By Gajesh Tripathi in forum New To Java
    Replies: 1
    Last Post: 10-18-2007, 10:59 AM
  3. Replies: 1
    Last Post: 08-07-2007, 06:04 AM
  4. Clear screen in java
    By lenny in forum New To Java
    Replies: 1
    Last Post: 07-30-2007, 10:43 AM
  5. Full screen
    By Jack in forum Advanced Java
    Replies: 2
    Last Post: 07-02-2007, 06:49 AM

Posting Permissions

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