Jump to content

Welcome to DreamBot!

Download for Free

Supercharge Your Bots

Run unlimited bots today using DreamBot's Covert Mode and
stay more protected.

Upgrade Now
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java 8 installed
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
BottingHub.com Advertisment
Download the DreamBot client today!
Articron

DBUI - Custom GUI look & feel API

Recommended Posts

So I wrote a small L&F library for Java Swing and I figured it would be cool to release it, considering it's been a while since I've posted anything in the educational section :) It would be cool to see those boring default GUIs disappear over time :ph34r:

I'm making this open source, and others are more than welcome to contribute to the cause because it's far from finished: DBUI Github page

A picture of what it looks like:

image.png.9e8373fed2a4af1b89d022cc09be8c37.png

What's cool about this is that you're allowed to use this in SDN scripts, to give your scripts a bit more of that visual OOMF :D 

Basically, you can incorporate this UI by just changing any JComponent's name to DreamComponent. For example: JTextField = DreamTextField, JButton = DreamButton, ....

You can find an example called "ScriptFrame" in there too.

Share this post


Link to post
Share on other sites

Just want to casually mention that saying something is "open source" does not mean its "open source", as you need to attach a license to it. Without doing so, you are not actually giving people rights to use it. Like, MIT, Apache & GNU.

However, thanks for the code, I will definitely try it out, it looks good!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...