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 8817 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/ Link to comment Share on other sites More sharing options...
Nex 2545 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 @NexBot public Interface gui; Dungeon implements Area(){ } onStart() { gui = ( new JFrame("Good to see you"), client.getForumUser() , new DungeonInterface(ctx.getArea()}; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.