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.

weird thing happening with gui not showing up correctly.

Featured Replies

Hey, so while attempting to make my gui i have encountered a problem. when i call the gui to appear using gui.setvisible(true) I get a weird version where nothing pops up but it says that there is an open window in my open programs bar thing (picture for reference, the gui is the thing on window on the right). my Gui class is named "Gui" and is in the same package as the main class.

 

i also call it by using "public Gui gui = new Gui();" at the top of main before onStart()

 

in onStart the gui is set to visible with: "gui.setVisible(true);"

 

its weird because i use the gui the same way i did in other scripts and it worked fine there.

 

just wondering if anyone else has had this weird problem.

post-146248-0-07185000-1463474187_thumb.png

Edited by roguehippo

Hey, so while attempting to make my gui i have encountered a problem. when i call the gui to appear using gui.setvisible(true) I get a weird version where nothing pops up but it says that there is an open window in my open programs bar thing (picture for reference, the gui is the thing on window on the right). my Gui class is named "Gui" and is in the same package as the main class.

 

i also call it by using "public Gui gui = new Gui();" at the top of main before onStart()

 

in onStart the gui is set to visible with: "gui.setVisible(true);"

 

its weird because i use the gui the same way i did in other scripts and it worked fine there.

 

just wondering if anyone else has had this weird problem.

 

We will need to see some code to determine the issue. 

 

One reason could be that you have not set a size on your JFrame?

gui.setMinimumSize(new Dimension(500, 500));
GUI gui;
	
	@Override
	public void onStart() throws InterruptedException {
		
		gui = new GUI();
		
	}

:edit: if that doesn't fix it, then I'll need to see your code.

Edited by liverare

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.