Jump to content

y no jfx tho?


Mysteryy

Recommended Posts

From the rules:

Scripts that have any of the following will be auto-rejected:
...
-Scripts that use anything from JavaFX

 

Why did yall decide to ban javafx? I used it in scripts long ago and it worked nps?

I think there might have been some issue loading css for scripts on the SDN, but that isn't enough reason to reject scripts that use javafx altogether. 

Is there another reason that it was banned?

 

image.png.aa86a2791670e173ad2ca98c7d6905a8.png

Edited by Mysteryy
Link to comment
Share on other sites

2 hours ago, Mysteryy said:

From the rules:


Scripts that have any of the following will be auto-rejected:
...
-Scripts that use anything from JavaFX

 

Why did yall decide to ban javafx? I used it in scripts long ago and it worked nps?

I think there might have been some issue loading css for scripts on the SDN, but that isn't enough reason to reject scripts that use javafx altogether. 

Is there another reason that it was banned?

OSBot is written using swing, makes sense to keep using swing in scripts.

Can't use FXML/ CSS on the SDN so there's really not much benefit to using JavaFX anyway.

Some Java versions don't come with Java FX, and would mean more annoying bug reports from clueless users

  • Boge 1
Link to comment
Share on other sites

1 hour ago, Explv said:

OSBot is written using swing, makes sense to keep using swing in scripts.

Can't use FXML/ CSS on the SDN so there's really not much benefit to using JavaFX anyway.

Some Java versions don't come with Java FX, and would mean more annoying bug reports from clueless users

 

First reason isnt really a good one imo. You can have a jfx application thread and a swing thread living together in harmony. 

Second reason is pretty much the only one I could imagine, but you can still style fx other ways so that's annoying but not a show stopper.

Last reason is also not really a good one either. Its been bundled in java 8 which has been around for a while now. 

 

The only real reason I can imagine is because oracle announced that it wont support it past 2022 in being bundled with java. Then it will be a separate lib.

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...