TheRevelo 7 Share Posted April 10, 2019 Hey, so i built an GUI in WindowBuilder and now want that when i launch my script the GUI pops up. How could i do that? Thanks! Link to comment Share on other sites More sharing options...
zanko360 1 Share Posted April 10, 2019 What is your IDE? Link to comment Share on other sites More sharing options...
Hashtag 8369 Share Posted April 10, 2019 Have a look at my Scripting 101 tutorial. It has a guide how to setup gui. The tut doesn't use WindowBuilder, but you should be able to get the idea from it. https://dreambot.org/forums/index.php?/topic/8530-scripting-101/ depwession 1 Link to comment Share on other sites More sharing options...
Nex 2530 Share Posted April 11, 2019 private GUI gui; onStart() { gui = new GUI(); } Link to comment Share on other sites More sharing options...
DefCon 121 Share Posted April 11, 2019 (edited) @NexBot public Interface gui; Dungeon implements Area(){ } onStart() { gui = ( new JFrame("Good to see you"), client.getForumUser() , new DungeonInterface(ctx.getArea()}; } Edited April 11, 2019 by DefCon Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now