Programming a GUI is so annoying. But I've only done it in java. Is there a toolkit out there that's better than swing (as far as ease of use goes)?
Name:
Anonymous2006-04-13 10:59
GUI toolkits are a PITA at the best of times; Swing takes that property, wraps it in Java and shoves it right up your arse.
Name:
Anonymous2006-04-13 14:53
SWT for Java
Name:
Anonymous2006-04-13 15:21
Windows.Formsです.
Name:
Anonymous2006-04-14 16:51
Annoying GUI programming? Java? You ever done win32?
Name:
Anonymous2006-04-14 18:12
Try Qt. You'll love it.
Name:
Anonymous2006-04-14 18:41
>>5
win32 isn't too bad most of the time so long as you do it from VB rather than C++. Gets painful if you want to do advanced stuff though; making calls to C++ functions from a language that doesn't understand pointers is a real headache.
Name:
Anonymous2006-04-14 19:08
Whatever GIMP is using, use the exact opposite. :)
Name:
Anonymous2006-04-14 22:36
>>1
jigloo, plugin for eclipse. great swing tool kit offering vb-like development process.
This is one of the reasons I love programming on a mac :D
So stupid easy to do, and make it pretty.
Name:
Anonymous2006-04-18 12:27
Never tried SWT for Java but I like OS integration.
WxWidgets's not too bad, and GTK is a pain.
Name:
DareToDare2006-04-25 4:08
GTK is a pain if you had to micro-manage, QT might be better as I heard there is less micro-maangement. If you don't mind using the Microsoft framework a little you try doing it in Visual J#. As far as SWT it is analogous to AWT/Swing in Java with a difference - SWT uses a rich set of native widgets (more info @ http://www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html). I have only used a little swing myself and its not some much that it is hard is as it is annoying, but thats my own personal rant.
Name:
Anonymous2006-04-25 14:42
GTK is meh. FLTK is Ok. wxWidgets is pretty good. FOX is definately my favourate though.
Name:
Anonymous2006-04-25 19:16
This thread is useful. You wouldn't think so but I find various simple, quick "GTK is meh" and "wxWidgets is pretty good" comments useful because I haven't used either and now I have a good idea of what to try first.
Name:
Anonymous2006-04-25 19:20
Ugh, I hate Swing. Visual Studio made making GUIs fun. I don't think I'd ever bother coding a GUI by hand, I'd rather focus on real stuff.
Name:
Anonymous2006-04-25 20:18
Considering the current state of /b/, I must mention the glorious GUI toolkit that was Magic User Interface (aka MUI) on the Amiga. That shit ruled like six ways to saturday. Though it was so advanced that it was slow as all hell on an A500, really a 68030 or better was required to run it well. Four megs or more of RAM would've been nice too.
So I'm kind of surprised and disgusted that something like MUI hasn't sprung up on top of X11 or something. For the time being I'm settling for GTK# on top of Mono, because at least in C# 2.0 you can do things like button.Clicked += delegate { DoSomethingOrOther(666, 42) }; instead of fagging around with a thousand and fifteen callback methods.
Name:
Anonymous2006-04-26 4:42
>>31
I take QT/KDE and actually code GUI by hand. Connecting signals and such is a little annoying but most of that is actuallt copy-pasta. I really do not like Designer generated .ui/.h files. They are full of fail and misleading. Then again, I've seen projects entirely written using Designer (qt3.x tho). Qt4.x Designer do not have code editing capabilities for some reason.
Name:
Anonymous2006-04-26 4:45
but most of that is actuallt copy-pasta
If you need to use copypasta you're doing it wrong. Use a language that allows higher levels of abstraction.
Name:
Anonymous2006-04-26 6:40
>>34 Use a language that allows higher levels of abstraction.
Explain to me, how you take higher level of abstraction and tell every button to do different things without duplicating semantics?
>>46
Ignorant lispnik doesn't know the difference between duck typing and dynamic typing but thinks they're the same thing because he can't conceive of anything Lisp hasn't done first. Shocking.
>>48
Surely you'd get duck typing through generics
Name:
502010-04-21 17:11
On second thought, Lisp did beat python to duck typing (and I'd presume smalltalk beat lisp). IF YOU'D READ YOUR SICP, you would recall that closure-objects dispatch on the method name (or duck typing). Duck typing is a misnomer anyway because it has nothing to do with the type system.
>>51
The thing about >>48-kun and his like is that being willfully ignorant enables you to put down a thing without understanding it first. It especially helps if you do not understand your own position very well at all either. Lisp doesn't have ``duck typing'' in exactly the sense that Lisp doesn't name any of its features ``duck typing''.
Name:
Anonymous2010-04-21 18:38
GUI in java wouldn't be so annoying if the tutorials didn't all use java's own ASS ON HAT RETARDED standard (read: non-null) layout(s).
That and they usually hide what you want amongst 1000 other methods and superclass/abstract methods.