[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Home]
Board
Settings Home
/g/ - Technology


Thread archived.
You cannot reply anymore.



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!
>>
RTFM
>>
>java
>xml
oh god
>>
File: 362.gif (73 KB, 480x360)
73 KB
73 KB GIF
>>70173220
Jaxb 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 yourself
all Java GUI frameworks are complete cancer
>>
>>70173412
JavaFX 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.
>>
>>70173093
Why? 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 XML
But fucking why
XML 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)?
>>
>>70173093
Use C++ and the Qt Framework faggot
>>
The official docs are actually really good, they even have a nice tutorial.
>>
>>70175533
>the Qt Framework faggot
I don't use people.
>>
>>70175533
this
>>70175904
but not this
>>
>>70173093
you don't need XML for any part of this
just learn Swing, you use it directly from within Java. (ie, your window/form designs are made with code, not markup)
>>
>>70176250
jesus. more konqi lewds pls
>>
>>70173093
Use scenebuilder to generate fxml files. Load them into a Parent object with FXMLLoader
>>
>>70173093
use javafx swing is dying out
>>
File: 1485333021068.jpg (685 KB, 2335x2507)
685 KB
685 KB JPG
>>70176505
please stop ive already jacked it twice today
>>
>>70176437
>scenebuilder
>fxml files
I never got this. Doing all GUI by code is so much nicer/simpler to work with.
>>
>>70176505
Post his girlfriend and I'll consider using Qt for my future projects and KDE for my desktop.
>>
>>70173093

The 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.
>>
File: shocked superheroes.png (211 KB, 471x574)
211 KB
211 KB PNG
>>70176505
>>
>>70173093
JavaFX. It's awesome.
>>70176761
XUL, 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...
>>
>>70179156
Official docs are great. If you're more into video tutorials then check out the JavaFX vids by thenewboston on YouTube.
>>
File: 1qzzm21o1_400.gif (1.62 MB, 300x291)
1.62 MB
1.62 MB GIF
>>70179156
The official docs. Read them.
>>
>>70175525
Use Java to start an Electron app



Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.