| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> wolfey thanks. I created a new instance of JScrollPane and JPanel. added the buttons/labels to the JPanel and added the panel to scrollpane and then that to container. but it wont appear on the JFrame. no errors. Any clues? <1> ummm well one thing, i wouldnt use layout null <1> i would use borderlayout and add scrollpane as CENTER <1> and if you use absolute positioning on that panel <1> also setPrefferedSize <1> to what you expect <1> dunno <1> and add all before making frame visible <1> java doesnt show on its own (without forcing refresh) any components added after frame is visible <1> wb Rob_Uknow <1> Rob_Uknow: got it to https://netlines.dev.java.net/ <1> :)) <2> ello <2> nothing happens <1> nothing?:)
<2> nope <1> page works for me:P <2> the site doesn't respond <2> there it is <2> when will you add fancy graphics? <1> however this drawing address messes things up <1> Rob_Uknow: when i get a graphic designer ;) <1> i merely replicated Gnome's game <1> even stole the colors <2> thief <1> well it is GPL, this is GPL and i didnt even take a look at their source <1> i just immitate look and feel <1> is there something bad about it <2> well its not very original <1> i know. <1> im not trying to sell it;) <1> but since there's no decent version for Windows <1> ... <1> ;) <1> they can as well play mine <2> great <1> it was great learning for me though <2> thats good <1> Rob_Uknow: at least now im convinced i know java <1> ;) <1> i wasnt sure before <2> was this your first project? <1> well first one i posted <1> i did something for information systems <1> i have all of it in slovene <1> didnt take time yet <1> http://86.61.12.183/pika.pdf screenshots are from page 22 <1> basicly it's gui editing of xml structure of information system, then database is created and gui is created from it... plus is you dont need to write no code to edit records in defined tables <2> cool <1> but didnt find will to release it <1> it doesnt work out of box. <1> i have project on java.net open <1> so i guess i should <2> what language is it? <1> java1.5 + PostgreSQL <1> text is in slovene <1> :PP <2> ah <1> well this is document i submited to get obligatory exercise *p***ed*. <1> i got highest score for it <1> 10 out of 10 <1> most of others just hardcoded stuff <1> i wrote whole damn abstraction engine <1> and you know what, i got working version in less time (6 weeks) than i spent to reverse-engineer UML from it (8 weeks) <1> funny thing was that the point of cl*** was to learn UML not to code <2> designing costs alot of time <2> just coding often is faster <2> because the design tools **** <1> well i found one that was quite nice. <1> MagicDraw UML <2> I can type alot faster then drag and drop uml artifacts <1> me too <1> i guess i will buy it some day. <1> dunno magicdraw is kinda logical and cute and intuitive
<1> unlike that damn Rational Rose <1> which plainly ****s <2> I use poseidons community edition <2> by gentleware <1> i just wonder when i will use it enough to pay $100 <1> im not big fan of UML <2> what alternatives are there <3> Rob_Uknow: is it much different to argoUML (which it's based on)? <2> poseidon seems more finished <2> but I haven't tried a recent argoUML version <3> I've used the argo one. Poseidon wants me to rgister so they can spam me. I hate that <1> lol <2> never received spam <2> don't you have an e-mail spam account? <4> oh my. I've been struck by a wave of demotivation <3> if I needed one, I would have <3> I can always just open a new gmail account or whatever <3> I just object on principle to that tactic <3> anyway, hometime <3> later all <4> can I blame jottinger for tss no working properly? ;) <2> tss? <4> the serverside <2> you can try <1> mmm <1> 12 year old girls mmm <1> :) <5> Can I ask a design question not specific to any particular language here? <1> Don't ask to ask, just ask. <5> I'm working with XML-RPC.. but.. it could be anything really. I need to "wrap" an object around something that is inherently procedural. <5> I need to p*** around an 'instance ID' some how. <5> Choices seem to be: rpc_server.cgi?INSTANCE=123 ... User.getUserName() <5> or.. User.getUserName(123) <5> or.. (and this would totally thwart any future attempts at reflection)... <5> User.123.getUserName() <2> the username is an attribute of the user <2> so user.getUserName() is most logical <5> Yes, I'd definately want user.getUserName() ... but... (and here is the catch) XML-RPC doesn't do objects. <1> well ***ign each user unique id <2> so? <1> and p*** that id <5> So.. would it be "cleanest" to p*** the "instance ID" as a parameter, or embed it in the server url? <2> do you actually construct the url yourself? <5> I could, I think. <2> most implementations hide that for you <5> Most of them are like server = ComeCl***.getServer('url'); ? <5> Hmm.. so.. tacking an instance ID (so the server can figure out which object we're talking about) would be a problem client side, since the implementation likely hides the URL from them? <2> I recommand doing an xml-rpc tutorial <5> I've seen them, everything I've seen involves p***ing the equiv. of an instance ID as a parameter to the methods. To me, that just looks.. kind of dirty. <5> Wondering if there were a cleaner way. :-) <2> you just call a remote method <2> and maybe p*** some parameters <5> Yea, thats what I've seen. It works, but.. the "methods" appear to me anyhow, to be more like functions or procedures. <2> well what do you think a method is? <2> xml-rpc is procedural <5> A method usually has an instance ***ociated to it. <5> Unless it's a singleton.. I need multiple object(s) <2> what for? <2> you can wrap the result into an object if you want <2> String username = client.execute("getUserName", "123"params); <2> User user = new User(username); <5> Yea.. I'm afraid of that.. then.. everytime I need to execute any methods of the 'User' cl***, I'll need to p*** '123' as the first parameter. Was really hoping for a way around that. <2> i'm sure you can get a User object back as well <2> so you can do something like User user = client.execute("getUser", param); <2> maybe you need to parse the result into an object yourself <5> It boils down to... some how, some way.. I need to p*** instance data around. <5> (even if it's just an ID) <2> xml-rpc supports hashtablle <2> than you can easily get the user attributes from the hashtable <5> Yea, they're structs. :-) but.. It's not just users, it's accounts, transaction lists, etc... <2> new User(result.get("name"), result.get("id"), result.get(..)); <6> salam <2> what does it matter <2> its not that much work you construct the objects by hand
Return to
#java or Go to some related
logs:
#mirc #AllNiteCafe #linux cainam #linux #AllNiteCafe monut loopback declaring char*** in C++ way to ammerillo DONT PVT ME
|
|