B4J Question Third party JavaFX components

westereng

Member
Licensed User
Hello!

I am evaluating B4J to see if I can use it for my upcoming project.

So far it seems to fit the bill. Can't beat the price

As I am new to this tool I need to know if it is possible to integrate and use other
third party JavaFX components, like theese two below:

HtmlEditor

Ribbon

Do I need to write a wrapper or something to use them?

Regards
Ronny
 

westereng

Member
Licensed User
Any third party JavaFX component can be added to B4J. Creating a wrapper requires some Java knowledge.
If the component is simple enough (not the case with these two) then you can directly add it with JavaObject and without creating a wrapper.

Ok, I tried with #AdditionalJar and javaobject now, like this:



When running I added a brakepoint and hovered over testeditor object and got this:



That seems to display the librarys functions. Do you think a java wrapper would be necesserray in this case?

Regards
Ronny
 
Upvote 0

westereng

Member
Licensed User
ok, is there some documentation on how to write a wrapper for use with b4j?

I worked a little with java many years ago, so might not be that difficult to get going again...
 
Upvote 0

westereng

Member
Licensed User
Actually, I have been testing the b4x bundeled htmleditor now, and it is suprisingly powerfull, so I will spear myself some grief(and money) and use that instead

Now, if it only was that easy to get hold of a usable ribbon control :O
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…