Thread: Clients actual size

Results 1 to 4 of 4
  1. #1 Clients actual size 
    Registered Member

    Join Date
    Oct 2007
    Posts
    1,063
    Thanks given
    155
    Thanks received
    162
    Rep Power
    286
    I've been working on a resizeable client like Runescape has.
    It's all working fine, I just need to know how I can get the actual size of the frame the client is using.

    So if I resize the client by stretching the window that I get the actual new size in pixxels.
    I've searched in java API before and tried a few things, but without success.

    I'm sure somebody can help me there.


    Thanks already,
    Thomy
     

  2. #2  
    Registered Member
    Josh™'s Avatar
    Join Date
    Nov 2008
    Posts
    692
    Thanks given
    5
    Thanks received
    9
    Rep Power
    266
    Frame_Sub1...If your changing the Frame of the client. Or, you could make it re-sizable if you have a JFrame
     

  3. #3  
    Registered Member

    Join Date
    Oct 2007
    Posts
    1,063
    Thanks given
    155
    Thanks received
    162
    Rep Power
    286
    I just wana know the current jFrame width & height.
    It's resizeable, my window, i can change it's width and height.
     

  4. #4  
    Registered Member
    Josh™'s Avatar
    Join Date
    Nov 2008
    Posts
    692
    Thanks given
    5
    Thanks received
    9
    Rep Power
    266
    Code:
            resize(i + 8, j + 28);
    mine ^
     


Thread Information
Users Browsing this Thread

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


User Tag List

Tags for this Thread

View Tag Cloud

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