Dampoe 3 Share Posted July 22, 2019 @Articron Link is not working anymore, at least for me Link to comment Share on other sites More sharing options...
GetPoggedOn 18 Share Posted February 23, 2020 Top GUI Link to comment Share on other sites More sharing options...
Xtra 31 Share Posted July 1, 2020 Great contribution, really loving the aesthetic the GUI offers. Thanks & will be crediting you on release Link to comment Share on other sites More sharing options...
notafraid90 12 Share Posted March 18, 2021 I'm getting two headers! What am I missing? Link to comment Share on other sites More sharing options...
Hashtag 8671 Share Posted March 18, 2021 2 hours ago, notafraid90 said: I'm getting two headers! What am I missing? You may want to declare the frame as undecorated. Link to comment Share on other sites More sharing options...
notafraid90 12 Share Posted March 18, 2021 1 minute ago, Hashtag said: You may want to declare the frame as undecorated. I did both in my Swing invokeLater and in the DreamFrame constuctor. I also made sure its before setting it visible. I don't understand. Link to comment Share on other sites More sharing options...
Hashtag 8671 Share Posted June 15, 2022 On 3/18/2021 at 9:21 PM, notafraid90 said: I did both in my Swing invokeLater and in the DreamFrame constuctor. I also made sure its before setting it visible. I don't understand. This can be solved by calling this line before you initialize your gui: JFrame.setDefaultLookAndFeelDecorated(false); On another note, I dislike the library because of 3 reasons: The close button in DreamHeader exits the client. You should make the following change: //closeBtn.addActionListener(l -> System.exit(0)); closeBtn.addActionListener(l -> SwingUtilities.windowForComponent(this).dispose()); The DreamBot logo is fetched from the internet for no reason at all. Because of this, the gui initialization must be wrapped in try-catch statement (ImageIO exception) and there is this redundant class VisualTools that resizes the image from the internet. Instead, the library should get the DreamBot icon from the client's JFrame as following: ((JFrame) SwingUtilities.windowForComponent(Instance.getCanvas())).getIconImage() This library is commonly used in SDN scripts and I cringe every time I see these "flaws" in new scripts to be released. Bruhuh and xGrimm 2 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