Thread: Error adding camera rotating from middle mouse button

Results 1 to 2 of 2
  1. #1 Error adding camera rotating from middle mouse button 
    Registered Member
    Join Date
    Jul 2015
    Posts
    17
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    So i tried to add camera rotating from middle mouse button using this guide: Middle mouse movement
    But i'm getting this error;

    Code:
    RSApplet.java:341: error: cannot find symbol
                                    Insets insets = gameFrame.getInsets();
                                    ^
      symbol:   class Insets
      location: class RSApplet
    1 error
    Press any key to continue . . .
    I saw someone on the thread with same problem and someone told him to add this:
    Code:
    protected final Insets insets;
    But i have no clue where to add it...Could someone help me?
    Reply With Quote  
     

  2. #2  
    oof


    Join Date
    Aug 2012
    Posts
    3,150
    Thanks given
    2,847
    Thanks received
    857
    Rep Power
    2260
    Import java.awt.Insets
    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. Middle Mouse Movement Error
    By Provider in forum Help
    Replies: 4
    Last Post: 10-07-2015, 06:07 AM
  2. [637][HELP] Middle mouse button
    By Torva in forum Help
    Replies: 3
    Last Post: 10-04-2014, 08:00 PM
  3. Middle mouse button to move camera
    By FaintView in forum Requests
    Replies: 8
    Last Post: 05-22-2014, 12:14 AM
  4. Adding custom login box's and buttons.
    By Super_Squirrel in forum Tutorials
    Replies: 56
    Last Post: 12-21-2010, 06:51 PM
  5. Replies: 11
    Last Post: 12-02-2007, 04:38 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
  •