Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

YinZ

Trade With Caution
  • Joined

  • Last visited

Solutions

  1. YinZ's post in Hide and unhiding paint. was marked as the answer   
    I do this:
    set a boolean defined as:

    private boolean hide = false; Then need to set the area for when the mouse is clicked. Two rectangles are set, point p then gets the mouse click and if that point is in the rectangles opens/closes depending on what the boolean is set at.

    public void mouseClicked(MouseEvent e) { Point p; Rectangle close = new Rectangle(490, 346, 20, 25); Rectangle open = new Rectangle(490, 346, 20, 25); p = e.getPoint(); if (close.contains(p) && !hide) { hide = true; } else if (open.contains(p) && hide) { hide = false; } } Then the paint just checks the boolean to see if its false/true and shows the corresponding image and other gibberish.

    public void onPaint(Graphics g) { if (!hide) { //if boolean is currently not hiding then shows all information g = (Graphics2D)g; g.drawImage(img3, 7, 344, null); //other important information down here } else { //if boolean says hidden then draws image where you want it to be g.drawImage(img2, 490, 346, null); //usually just a simple 'X' or show paint } }

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.