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.

Another question from me! [GUI]

Featured Replies

  • Author

Looks very sweet! Very useful and understandable. Only thing is: i got 3 errors. 

 

1. treeSelector

2. CustomIntInTheMainClass

3. m.start

 

Edit: fixed nr2 and 3. 

Just needed to add: 

	public int CustomIntInTheMainClass;
	public boolean start;

In my main class.

 

EDIT EDIT: Fixed nr1 too. I think. 

EDIT EDIT EDIT: Nope, didn't fix nr1.

Edited by OSRS Sebastian

JavaFX is NOT the same as Swing (JFrame), idk why vilikus did not understand that? learn swing first as it is way easier than javafx.

Looks very sweet! Very useful and understandable. Only thing is: i got 3 errors. 

 

1. treeSelector

2. CustomIntInTheMainClass

3. m.start

 

Edit: fixed nr2 and 3. 

Just needed to add: 

	public int CustomIntInTheMainClass;
	public boolean start;

In my main class.

 

EDIT EDIT: Fixed nr1 too. I think. 

EDIT EDIT EDIT: Nope, didn't fix nr1.

I made some mistakes in the paste and didn't explain it fairly well to you:

 

fixed the paste: http://pastebin.com/KErmtQ5k

 

in your Main class add:

public int CustomIntInTheMainClass = 0;

public String YourStringInTheMainClass = " ";

public boolean start = false;

JavaFX is NOT the same as Swing (JFrame), idk why vilikus did not understand that? learn swing first as it is way easier than javafx.

Yeah my bad, didn't see that he was using javafx facep.gif

Edited by Viliuks

  • Author

firstly, you want to be using swing not jfx

 

Secondly, if you have eclipse, there's a really handy tool called 'WindowBuilder Pro' which is a plugin - http://www.eclipse.org/windowbuilder/download.php

If you install that, it will make your life 5x easier! (if you use an IDE other than eclipse, i'm sure there's an equivalent!)

 

apa

 

I have Eclipse. For my own record: WindowBuilder is Java Swing?

 

JavaFX is NOT the same as Swing (JFrame), idk why vilikus did not understand that? learn swing first as it is way easier than javafx.

 

Thanks for the tip. Will be digging deeper in the JFrame!

 

I made some mistakes in the paste and didn't explain it fairly well to you:

 

fixed the paste: http://pastebin.com/KErmtQ5k

 

in your Main class add:

public int CustomIntInTheMainClass = 0;

public String YourStringInTheMainClass = " ";

public boolean start = false;

Yeah my bad, didn't see that he was using javafx facep.gif

 

Thanks boss! This works like a charm. I'm about to study it! Will let you know when i finished my GUI!

Edited by OSRS Sebastian

firstly, you want to be using swing not jfx

 

Secondly, if you have eclipse, there's a really handy tool called 'WindowBuilder Pro' which is a plugin - http://www.eclipse.org/windowbuilder/download.php

If you install that, it will make your life 5x easier! (if you use an IDE other than eclipse, i'm sure there's an equivalent!)

 

apa

There is a stand alone builder called "JFormDesigner" except it requires payments but you can get a free trial.

Thanks for the tip. Will be digging deeper in the JFrame!

 

 

Thanks boss! This works like a charm. I'm about to study it! Will let you know when i finished my GUI!

If you gots more questions feel free to ask and look at Apeacs post.

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.