ThRuST Well-Known Member Licensed User Longtime User Nov 6, 2018 #1 Well since I came to the same conclusion elsewhere I post it here where it belongs. There's a need for a toggleswitch and I found a nice one in Native Java that you can find here Please wrap this in a library for B4J and we're all go to heaven peacefully UPDATE: There's now a ToggleSwitch library available for B4J go here to get it. Cheers, ThRuST Last edited: Nov 7, 2018
Well since I came to the same conclusion elsewhere I post it here where it belongs. There's a need for a toggleswitch and I found a nice one in Native Java that you can find here Please wrap this in a library for B4J and we're all go to heaven peacefully UPDATE: There's now a ToggleSwitch library available for B4J go here to get it. Cheers, ThRuST
Alexander Stolte Expert Licensed User Longtime User Nov 6, 2018 #2 https://www.b4x.com/android/forum/threads/jtoggleswitch-v1-0-0.62790/#content 5 seconds with the Forum search engine.
https://www.b4x.com/android/forum/threads/jtoggleswitch-v1-0-0.62790/#content 5 seconds with the Forum search engine.
ThRuST Well-Known Member Licensed User Longtime User Nov 6, 2018 #3 1 second conclusion you've missed all me and Donmanfred talked about
ThRuST Well-Known Member Licensed User Longtime User Nov 6, 2018 #4 To fill you all in on this, the jtoggleswitch library cannot be updated since Donmanfred don't have the sourcecode anymore. That's why we all need a new equal control, so if anyone can make a wrapper it's super.
To fill you all in on this, the jtoggleswitch library cannot be updated since Donmanfred don't have the sourcecode anymore. That's why we all need a new equal control, so if anyone can make a wrapper it's super.
ThRuST Well-Known Member Licensed User Longtime User Nov 6, 2018 #5 @Alexander Stolte Did you try it with the new Java v11? Please do. And hopefully master @DonManfred will announce a new solution if our asses are lucky
@Alexander Stolte Did you try it with the new Java v11? Please do. And hopefully master @DonManfred will announce a new solution if our asses are lucky
stevel05 Expert Licensed User Longtime User Nov 6, 2018 #6 Try this one. It's very simple, you can modify it as you wish. https://www.b4x.com/android/forum/threads/b4j-toggleswitch.99089/
Try this one. It's very simple, you can modify it as you wish. https://www.b4x.com/android/forum/threads/b4j-toggleswitch.99089/
ThRuST Well-Known Member Licensed User Longtime User Nov 6, 2018 #7 OH MY GOD STEVE HAHA That sure looks promising. With CSS and all. You made my day (again) BRILLIANTE
LWGShane Well-Known Member Licensed User Longtime User Nov 7, 2018 #8 ThRuST said: @Alexander Stolte Did you try it with the new Java v11? Please do. Click to expand... B4J isn't compatible with Java 11 because JavaFX is now it's own package (OpenJFX).
ThRuST said: @Alexander Stolte Did you try it with the new Java v11? Please do. Click to expand... B4J isn't compatible with Java 11 because JavaFX is now it's own package (OpenJFX).
ThRuST Well-Known Member Licensed User Longtime User Nov 7, 2018 #9 @ShaneG30 Wow that was sure quite a newsflash. Good or bad what do you think? So what do you suggest for everyone who made a library that works with Java v1.8.0 191 and it will probably work with JDK v9.0.4 but then what's the coming steps to follow. Nice posting this, so others can adapt to the new standard. So people can update their libraries to stay up to date someway. Cheers
@ShaneG30 Wow that was sure quite a newsflash. Good or bad what do you think? So what do you suggest for everyone who made a library that works with Java v1.8.0 191 and it will probably work with JDK v9.0.4 but then what's the coming steps to follow. Nice posting this, so others can adapt to the new standard. So people can update their libraries to stay up to date someway. Cheers
LWGShane Well-Known Member Licensed User Longtime User Nov 7, 2018 #10 ThRuST said: Good or bad what do you think? Click to expand... Caution: Semi-Long Read I'm not entirely sure yet but I'm thinking that this may be a bad move because Java no longer has a modern UI framework built-in; meaning it won't get as much exposure as it was getting. Also, exposure is why Swing became the de facto GUI for a long time. (Exposure means that anyone who started using Java could create GUIs without downloading another framework.) I'm also concerned about the general state of Java itself in regards of the "security perception" (how general users see Java) and licensing; which is why I think Google is preparing to make Chrome OS replace Android. Nothing is official yet but I feel that's the reason why they've been pushing "Android apps on Chrome OS" so hard; so when the switch does happen it won't be another Windows Phone.
ThRuST said: Good or bad what do you think? Click to expand... Caution: Semi-Long Read I'm not entirely sure yet but I'm thinking that this may be a bad move because Java no longer has a modern UI framework built-in; meaning it won't get as much exposure as it was getting. Also, exposure is why Swing became the de facto GUI for a long time. (Exposure means that anyone who started using Java could create GUIs without downloading another framework.) I'm also concerned about the general state of Java itself in regards of the "security perception" (how general users see Java) and licensing; which is why I think Google is preparing to make Chrome OS replace Android. Nothing is official yet but I feel that's the reason why they've been pushing "Android apps on Chrome OS" so hard; so when the switch does happen it won't be another Windows Phone.
ThRuST Well-Known Member Licensed User Longtime User Nov 7, 2018 #11 Thanks for sharing this it was valuable to the community indeed. Do you mind share the link to the newsfeed you got it from? it would be nice with some more semi-long reading
Thanks for sharing this it was valuable to the community indeed. Do you mind share the link to the newsfeed you got it from? it would be nice with some more semi-long reading
LWGShane Well-Known Member Licensed User Longtime User Nov 7, 2018 #12 ThRuST said: Thanks for sharing this it was valuable to the community indeed. Do you mind share the link to the newsfeed you got it from? it would be nice with some more semi-long reading Click to expand... JavaFX JDK 11: https://www.infoworld.com/article/3...javafx-11-arrives-as-a-standalone-module.html OpenJFX 11: https://openjfx.io Google Play on Chrome OS (Chromebooks and Pixel Slate): https://support.google.com/googleplay/answer/7021273?hl=en It might be possible to optimize B4A apps for Chrome OS: https://developer.android.com/chrome-os/intro
ThRuST said: Thanks for sharing this it was valuable to the community indeed. Do you mind share the link to the newsfeed you got it from? it would be nice with some more semi-long reading Click to expand... JavaFX JDK 11: https://www.infoworld.com/article/3...javafx-11-arrives-as-a-standalone-module.html OpenJFX 11: https://openjfx.io Google Play on Chrome OS (Chromebooks and Pixel Slate): https://support.google.com/googleplay/answer/7021273?hl=en It might be possible to optimize B4A apps for Chrome OS: https://developer.android.com/chrome-os/intro