Jump to content

GUI


gatekeeper

Recommended Posts

So I'm working on a new JFrame for my bot and im using the windowbuilder eclipse plug in . It will build the frame and compile fine in eclipse, but it breaks the bot when I try to run it (wont start) . Are there things osbot doesn't support that are in swing?

Edited by gatekeeper
Link to comment
Share on other sites

  On 11/24/2015 at 6:51 AM, gatekeeper said:

So I'm working on a new JFrame for my bot and im using the windowbuilder eclipse plug in . It will build the frame and compile fine in eclipse, but it breaks the bot when I try to run it (wont start) . Are there things osbot doesn't support that are in swing?

 

Do it manually without the help of a builder. Everything in swing should run on OSBot.

Link to comment
Share on other sites

  On 11/24/2015 at 7:29 AM, gatekeeper said:

There shouldn't be anything different between doing it manually and with the plug in though, the plug in should just be adding the code in for me right?

Make sure you use default fonts that eveyone has access too and also set it to 'preferred size'

 

~OB

Link to comment
Share on other sites

  On 11/24/2015 at 6:51 AM, gatekeeper said:

So I'm working on a new JFrame for my bot and im using the windowbuilder eclipse plug in . It will build the frame and compile fine in eclipse, but it breaks the bot when I try to run it (wont start) . Are there things osbot doesn't support that are in swing?

 

Check in the logger what happened. It usually logs exactly what the problem is, at least that's what happened in my case, when I set a fancy border and it broke as well.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...