[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

2017/01/28: An issue regarding the front page of /jp/ has been fixed. Also, thanks to all who contacted us about sponsorship.

/g/ - Technology

View post   

[ Toggle deleted replies ]
File: 1.35 MB, 2057x2442, for_a_minute_there_i_lost_myself_by_marie_esther_d7anzc4.jpg [View same] [iqdb] [saucenao] [google] [report]
70173093 No.70173093 [Reply] [Original] [archived.moe] [rbt]

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!

>> No.70173205


>> No.70173220

oh god

>> No.70173248
File: 73 KB, 480x360, 362.gif [View same] [iqdb] [saucenao] [google] [report]

Jaxb and xml are a match made in heaven, faggot. It simply doesn't get any more comfy than this.

>> No.70173281

So what is the very best resource(s) to get uptospeed (i.e., hireable) in as short a time as possible?

>> No.70173412

it would be a better idea to immediately kill yourself
all Java GUI frameworks are complete cancer

>> No.70173476

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.

>> No.70173548

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?

>> No.70173757

>With XML
But fucking why
XML is a stain on tech

>> No.70173830

>in 2019
Ah, yes, OP should have asked how to make JavaScript desktop GUI apps.

>> No.70175525

So how does one build modern Java GUI desktop applications if not without Swing/JavaFX (and JaxB for working with XML)?

>> No.70175533
File: 45 KB, 220x367, 220px-KDE_Mascot_Konqi_by_Tyson_Tan.png [View same] [iqdb] [saucenao] [google] [report]

Use C++ and the Qt Framework faggot

>> No.70175904
File: 176 KB, 876x1067, 2247416 - Konqi cybermananon kde mascots.png [View same] [iqdb] [saucenao] [google] [report]


>> No.70175946

The official docs are actually really good, they even have a nice tutorial.

>> No.70175957

>the Qt Framework faggot
I don't use people.

>> No.70176231

but not this

>> No.70176250 [DELETED] 
File: 140 KB, 547x853, 2247417 - Konqi cybermananon kde mascots.png [View same] [iqdb] [saucenao] [google] [report]

You know you would like to

>> No.70176383

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)

>> No.70176405

jesus. more konqi lewds pls

>> No.70176437

Use scenebuilder to generate fxml files. Load them into a Parent object with FXMLLoader

>> No.70176505
File: 127 KB, 676x732, 2247419 - Konqi cybermananon kde mascots.png [View same] [iqdb] [saucenao] [google] [report]


>> No.70176506

use javafx swing is dying out

>> No.70176517
File: 685 KB, 2335x2507, 1485333021068.jpg [View same] [iqdb] [saucenao] [google] [report]

please stop ive already jacked it twice today

>> No.70176658

>fxml files
I never got this. Doing all GUI by code is so much nicer/simpler to work with.

>> No.70176736

Post his girlfriend and I'll consider using Qt for my future projects and KDE for my desktop.

>> No.70176761


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.

>> No.70177771
File: 782 KB, 1000x1214, 2247399 - Konqi SmileBomb kde mascots.png [View same] [iqdb] [saucenao] [google] [report]

Based furry mods, I'm still not b&

>> No.70178615
File: 211 KB, 471x574, shocked superheroes.png [View same] [iqdb] [saucenao] [google] [report]


>> No.70178651

JavaFX. It's awesome.
XUL, Glade... JavaFX. They all use XML to define the ui. WPF as well,iirc.

>> No.70179156

What is/are the very best resources for learning JavaFX, JaxB ? I cannot really find anything...

>> No.70179183

Official docs are great. If you're more into video tutorials then check out the JavaFX vids by thenewboston on YouTube.

>> No.70180274
File: 1.62 MB, 300x291, 1qzzm21o1_400.gif [View same] [iqdb] [saucenao] [google] [report]

The official docs. Read them.

>> No.70180656

Use Java to start an Electron app

Name (leave empty)
Comment (leave empty)
Password [?]Password used for file deletion.