Thread: [PI] Resize client

Results 1 to 5 of 5
  1. #1 [PI] Resize client 
    Registered Member syndrome-scape's Avatar
    Join Date
    Mar 2012
    Age
    29
    Posts
    160
    Thanks given
    5
    Thanks received
    5
    Rep Power
    14
    hey guy's i was wondering how to remove Resize client cause when i resize it

    the stuff is going white


    PIC;

    Reply With Quote  
     

  2. #2  
    Registered Member
    OP is a faggot's Avatar
    Join Date
    Jun 2011
    Posts
    1,475
    Thanks given
    195
    Thanks received
    614
    Rep Power
    785
    oh god your client
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Sep 2010
    Posts
    1,248
    Thanks given
    536
    Thanks received
    179
    Rep Power
    106
    You cant stretch your client however two possible methods you might like:
    • Making the client fullscreen (or option to fullscreen)
    • Making the background black
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Apr 2012
    Posts
    3,225
    Thanks given
    2,554
    Thanks received
    832
    Rep Power
    0
    Jframe class (.java, client-sided)
    Search for "public void initUI() {"
    You should see something like this;

    Code:
    			init();
    		} catch (Exception e) {
    				e.printStackTrace();
    		}
    	}
    Above the init();, add;

    Code:
    			frame.setResizable(false);
    Btw, your server is not 474, it's 317, just sayin'..
    Reply With Quote  
     

  5. #5  
    Registered Member syndrome-scape's Avatar
    Join Date
    Mar 2012
    Age
    29
    Posts
    160
    Thanks given
    5
    Thanks received
    5
    Rep Power
    14
    doesnt work i got this

    private void initUI() {
    try {
    JFrame.setDefaultLookAndFeelDecorated(true);
    JPopupMenu.setDefaultLightWeightPopupEnabled(false );
    frame = new JFrame(frameTitle);


    frame.setLayout(new BorderLayout());
    frame.setResizable(false);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOS E);
    JPanel gamePanel = new JPanel();
    gamePanel.setLayout(new BorderLayout());
    gamePanel.add(this);
    gamePanel.setPreferredSize(new Dimension(765, 503));
    JCheckBox CheckButton;


    /*String[] mainButtons = new String[]
    {
    "Item list", "Vote", "Donate", "Forums", "-", "Exit"
    };*/

    /*for (String name : mainButtons)
    {
    JMenuItem menuItem = new JMenuItem(name);
    if (name.equalsIgnoreCase("-"))
    //fileMenu.addSeparator();
    else
    {
    menuItem.addActionListener(this);
    //fileMenu.add(menuItem);
    }
    }*/

    //JMenuBar menuBar = new JMenuBar();
    //JMenuBar jmenubar = new JMenuBar();
    //frame.add(jmenubar);
    //frame.getContentPane().add(jmenubar, "South");
    // menuBar.add(fileMenu);

    //frame.getContentPane().add(menuBar, BorderLayout.NORTH);
    Toolkit toolkit = Toolkit.getDefaultToolkit();
    frame.getContentPane().add(gamePanel, BorderLayout.CENTER);
    frame.pack();

    frame.setVisible(true);
    frame.setResizable(false);
    init();

    }
    catch (Exception e)
    {
    e.printStackTrace();
    }
    }
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Client resize
    By Sillhouette in forum Help
    Replies: 28
    Last Post: 07-13-2011, 12:31 AM
  2. Resize my crowns for client use
    By Matt in forum Requests
    Replies: 6
    Last Post: 05-29-2011, 07:16 AM
  3. Client Resize.
    By anc13nts in forum Help
    Replies: 0
    Last Post: 08-16-2008, 10:14 AM
  4. How to Resize your client!
    By btbtbtbt in forum Tutorials
    Replies: 1
    Last Post: 01-07-2008, 07:22 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
  •