Hello, I need to learn how to use JAVA + SWING or JAVAFX to make GUI programs with XML, how do I go about doing this? Please and thanks!
>>70173220Jaxb and xml are a match made in heaven, faggot. It simply doesn't get any more comfy than this.
So what is the very best resource(s) to get uptospeed (i.e., hireable) in as short a time as possible?
it would be a better idea to immediately kill yourselfall Java GUI frameworks are complete cancer
>>70173412JavaFX is actually rather nice for the most part. It's just far too stupid BufferedImage isn't a first class citizen any longer. So fucking stupid. Gnah. But that probably wont bother you, unless your also into image processing shit.
>>70173093Why? Why would you choose to make software like this in 2019? You might as well be asking us how to make a java applet communicate with a flash program that reads data over IPX/SPX from a cobol program running on your mainframe. Sure, it could be done, but why?
>With XMLBut fucking whyXML is a stain on tech
So how does one build modern Java GUI desktop applications if not without Swing/JavaFX (and JaxB for working with XML)?
>>70173093Use C++ and the Qt Framework faggot
The official docs are actually really good, they even have a nice tutorial.
>>70175533>the Qt Framework faggotI don't use people.
>>70175533this>>70175904but not this
>>70173093you don't need XML for any part of thisjust learn Swing, you use it directly from within Java. (ie, your window/form designs are made with code, not markup)
>>70176250jesus. more konqi lewds pls
>>70173093Use scenebuilder to generate fxml files. Load them into a Parent object with FXMLLoader
>>70173093use javafx swing is dying out
>>70176505please stop ive already jacked it twice today
>>70176437>scenebuilder>fxml filesI never got this. Doing all GUI by code is so much nicer/simpler to work with.
>>70176505Post his girlfriend and I'll consider using Qt for my future projects and KDE for my desktop.
>>70173093The way you've worded your question (xml?) strongly implies a lack of general programming knowledge, not trying to shame you but I'd recommend starting with just hello world/ fizzbuzz. once you understand how to import libraries you can check out the documentation for swing and go from there.
>>70173093JavaFX. It's awesome. >>70176761XUL, Glade... JavaFX. They all use XML to define the ui. WPF as well,iirc.
What is/are the very best resources for learning JavaFX, JaxB ? I cannot really find anything...
>>70179156Official docs are great. If you're more into video tutorials then check out the JavaFX vids by thenewboston on YouTube.
>>70179156The official docs. Read them.
>>70175525Use Java to start an Electron app