LWGShane Well-Known Member Licensed User Longtime User Feb 11, 2015 #1 Is it possible to use AquaFx with B4J? Would put the "finishing touches" on my app and make it look MAS (Mac App Store) friendly.
Is it possible to use AquaFx with B4J? Would put the "finishing touches" on my app and make it look MAS (Mac App Store) friendly.
Erel B4X founder Staff member Licensed User Longtime User Feb 11, 2015 #2 Download the jar file and copy it to the additional libraries folder: http://aquafx-project.com/index.html 1. Add this attribute: B4X: #AdditionalJar: aquafx-0.1 2. Add this code: B4X: #If JAVA import com.aquafx_project.AquaFx; public static void Apply() { AquaFx.style(); } #End If 3. Call this Java method with: B4X: Dim jo As JavaObject = Me jo.RunMethod("Apply", Null) Last edited: Feb 12, 2015 Upvote 0
Download the jar file and copy it to the additional libraries folder: http://aquafx-project.com/index.html 1. Add this attribute: B4X: #AdditionalJar: aquafx-0.1 2. Add this code: B4X: #If JAVA import com.aquafx_project.AquaFx; public static void Apply() { AquaFx.style(); } #End If 3. Call this Java method with: B4X: Dim jo As JavaObject = Me jo.RunMethod("Apply", Null)
LWGShane Well-Known Member Licensed User Longtime User Feb 11, 2015 #3 B4J just became epic powerful! Thank you! AquaFx will help any of my Mac users "feel at home". These IDEs are truly amazing. Upvote 0
B4J just became epic powerful! Thank you! AquaFx will help any of my Mac users "feel at home". These IDEs are truly amazing.
LWGShane Well-Known Member Licensed User Longtime User Feb 11, 2015 #4 @Erel Update: I'm receiving a "Package doesn't exist" error. I have the jar file in my libs folder. Upvote 0
LWGShane Well-Known Member Licensed User Longtime User Feb 12, 2015 #5 Tried again, and also tried renaming the jar file itself. Upvote 0
rwblinn Well-Known Member Licensed User Longtime User Feb 12, 2015 #6 Hi, pls try after you have added the additional jar to the project attributes. Like: B4X: #Region Project Attributes #MainFormWidth: 600 #MainFormHeight: 400 #AdditionalJar: aquafx-0.1 #End Region Last edited: Feb 13, 2015 Upvote 0
Hi, pls try after you have added the additional jar to the project attributes. Like: B4X: #Region Project Attributes #MainFormWidth: 600 #MainFormHeight: 400 #AdditionalJar: aquafx-0.1 #End Region
Erel B4X founder Staff member Licensed User Longtime User Feb 12, 2015 #7 My mistake, forgot to post the AdditionalJar step. Upvote 0
LWGShane Well-Known Member Licensed User Longtime User Feb 13, 2015 #8 Erel said: My mistake, forgot to post the AdditionalJar step. Click to expand... That's alright I'm a newbie to your IDEs and am still getting used to their mannerisms. Upvote 0
Erel said: My mistake, forgot to post the AdditionalJar step. Click to expand... That's alright I'm a newbie to your IDEs and am still getting used to their mannerisms.
LWGShane Well-Known Member Licensed User Longtime User Feb 25, 2015 #9 OMG, This is awesome! Got jar themes working! Though the pre-Yosemite look is a bit dated, at least it's a Mac "L&F" instead of the default style. Did this with the OS detection and AquaFx is only used if the OS contains "mac". Going to use "Flatter" for Windows and Linux. Upvote 0
OMG, This is awesome! Got jar themes working! Though the pre-Yosemite look is a bit dated, at least it's a Mac "L&F" instead of the default style. Did this with the OS detection and AquaFx is only used if the OS contains "mac". Going to use "Flatter" for Windows and Linux.
R rboeck Well-Known Member Licensed User Longtime User Feb 25, 2015 #10 Can we get pictures of the different styles? Upvote 0