![]() |
The "thing" about GUIs in Java... - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Show Off (https://mirage-engine.uk/forums/forumdisplay.php?fid=10) +---- Thread: The "thing" about GUIs in Java... (/showthread.php?tid=3070) |
The "thing" about GUIs in Java... - Coke - 18-08-2009 If you want to maintain your code, you need to stay away from GUI editors - that means no netbeans :'( Satisfied with my networking code I've turned my attention to learning to design and create GUIs in Java... I've worked with them before but never actually tried to write my own from scratch... as with all things Java, its just a battle with learning the Swing API inside out. Something I decided to do tonight! Tadaa. Something that would take 30 seconds in vb6 has taken me an hour... at least I can take some solace in the fact its done 'properly' lol. Anyway, I didn't make this thread to show off what is essentially the most pointless GUI ever, I wondered if any of you guys have ever created GUIs using code in languages that are not visual basic. Was it hard? Do you prefer it that way? Having given it a little bash this evening, Its full steam ahead for me now. I personally, actually, quite like doing it this way! Fox Edit: Woopse I took the screenshot of my entire desktop.. oh well xD Re: The "thing" about GUIs in Java... - JokeofWeek - 18-08-2009 Does making one in Visual C++ count? xD Re: The "thing" about GUIs in Java... - Matt - 18-08-2009 JokeofWeek Wrote:Does making one in Visual C++ count? xD Did you make it through the code and not the gui? Re: The "thing" about GUIs in Java... - JokeofWeek - 18-08-2009 Matt Wrote:JokeofWeek Wrote:Does making one in Visual C++ count? xD Neh xD Ah, just re-read his question. Then no I did not xD Re: The "thing" about GUIs in Java... - grimsk8ter11 - 19-08-2009 I think c++ sucks for native GUI. but if you use a good GUI library then it can be fun. Then again, maybe its just cause windows sucks. Re: The "thing" about GUIs in Java... - Coke - 20-08-2009 A joyous day of Swing. LayoutManagers overriding shit are a pain in the fucking arse. I think this is acceptable enough for the "the coder is a noob and isn't sure what he's doing" phase of development so time to push onwards with listners, actionevents and the modelViewController principle... hmm. Its quite fun, really.... Edit: Arse, you get my desktop again too ._. Re: The "thing" about GUIs in Java... - Coke - 20-08-2009 Another post... Just to show I've done it 'properly' I guess. If I turn resizeable to true and drag it wide this is what happens. It also can't go any smaller than what it should look like, not that this matters since its size is locked but bleh - I've put blood sweat and tears into it damn you :'( Re: The "thing" about GUIs in Java... - grimsk8ter11 - 20-08-2009 gui in java with swing is epicly easy. Java is great for rapid development. Re: The "thing" about GUIs in Java... - Nean - 20-08-2009 Wow, that's actually pretty cool. I've been thinking about learning Java, looks pretty interesting. Is it a difficult language? Re: The "thing" about GUIs in Java... - Coke - 21-08-2009 Nean Wrote:Wow, that's actually pretty cool. I've been thinking about learning Java, looks pretty interesting. Is it a difficult language? Not at all, I learnt enough to work quite quickly now with Swing (The GUI API) in about 4 hours of playing with it. Java is a really rapid language to pick up one you have the "OH THATS HOW OBJECT ORIENTATION IS AWESOME" moment ![]() Re: The "thing" about GUIs in Java... - Labmonkey - 24-08-2009 I've been making all my gui's with java2d... I heard swing was a pain and never bothered. Is it worth it? Re: The "thing" about GUIs in Java... - Coke - 24-08-2009 Depends I guess. Can I see an example of your Java2D gui? How well does it work with listeners and stuff? |