| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> stop <1> where: String wIconIndex="-2"; <0> THE SQL not java types <1> ok <0> what sql types in the ddl <1> http://rafb.net/paste/results/UExd0o70.html <1> i checked and aparently are OK <1> :( <0> so why use setString for so many and not the correct types <1> for: String wIconIndex="-2"; ? <0> please paste with real line numbers <1> ok i paste all my code <0> I can't tell which line is 178 <1> http://rafb.net/paste/results/HMPCuw12.html <0> are you using java or some native compiler? <0> ok, just checked it's ok
<1> yes java <1> i use CMD window for compile and notepad <0> so which is line 178? <1> 178: wMyRs = pStmt.executeUpdate(); <1> i found the error <0> which is? <1> jeje a executeUpdate not return ... rows: <1> i replace: <1> wMyRs = pStmt.executeUpdate(); by pStmt.executeUpdate(); <0> yep <1> :) <0> why are you coding with all static ? <1> calchas sorry <0> why not define objects and behaviour <0> yiou need to learn some OO, do the tutorial and read thinking in java <0> thejavatutorial.com <1> a question about hinking in java <0> you are on a rioad to disaster at the moment <0> yes <1> the 4th edition is free? online? or only the 2? <0> read which ever you find <1> ok <0> the edition number won't matter <1> what is the difference in: 4th and second? <0> afaik all are available at 0 $ cost <2> calchas, can you find the problem in? http://pastebin.com/505759 <0> ilsn what makes you think there is a problem? <2> because of the CastClas***ception? <0> what line of code gives that exception ? <2> I highlighted it <0> and what are you actually trying to do <2> line 31 <2> Im trying to make a JList look different <0> I won't go read arbitary crap code from ppl to inarticulate or too lazy to speak in ENGLISH <0> the reason to insist on this is that putting the problem in context often solves it in the first instance <0> and it's good disciple to communicat as if an adult human <2> I've been working on it since yesterday <1> ilsn where are u from? <2> the netherlands <2> hence the dutch variable names <2> I'm trying to find a way to make my JList look different <2> Give it more height, and I saw someone use HTML in it as well, to make it span a different height... <1> ilsn say: calchas is my heroe.... <2> No, I'm not like that... <2> And calchas, It wasnt my choice to use dutch variable names, it was a request from the one who im making the project with... <1> calchas still here? <3> ilsn: learn to say "no" ;) <0> sorry was on phone <0> no problem with dutch names <1> calchas: http://rafb.net/paste/results/HMPCuw12.html <0> the problem is with ppl who want to communicat in code and not language <0> like jak2000 here <1> jeje <1> calchas see lines: 213 to 220 ... <1> please <0> phone again <1> ok <2> Calchas, the problem lies at line 31, which can't be casted into a object array, which should be able to be done, because its described in my book. The book actually uses images which are then thrown into the object array. I want to make it so that I get values from a database, feed them to the JList, and let it be rendered the way I want to, with a greater span in height, and make it look like the wireless network area of Windows xp <4> if its not an array you can't cast it to an array <2> it is,my bad <2> Its an array of Strings, as you can see in frmSportweekSelecteer
<0> sorry I'm popular on the phone at the moment, will be back shortly <5> oh. some time p***ed ... <0> it's eu/us overlap prime time :) <5> watched a film, but didn't realized how long i was away =) <6> AZ-friends, calchas ? <0> famuily from uk friends from scotlan and ireland <0> I'm in az <2> say I wanted to get lstSportweek to appear in scroller, would this be the way to do it? <2> scroller.add( lstSportweek, new org.netbeans.lib.awtextra.AbsoluteConstraints(322, 42, 4, 50) ); <4> no <0> do not use netbeans cl***es <4> JScroller scroller = new JScroller(lstSportweek); <4> then add the scroller to the container <2> i'm new to GUI programming by hand, so I copied the netbeans cl***, my bad. what is the good cl*** then? <4> any cl*** that doesn't have netbeans in the package name <0> they are not part of the standard libraries and cause deployment issues as well as netbeans related hell <0> myPanel.add( new JScrollPane( myList ) ); <0> or like rob said which I missed <2> yeah I got it appearing now, but it's not loading the ListModel i provided <2> ListModel.addElement( new String[]{ " Roeien " } ); its obviously not excepting that <0> poor syntax I think <0> String [] s = { "mmmm" }; ListModel.addElement( s ); maybe <5> ??? where is the difference? <0> that the { } ***ignment method doesn't work in the syntax used <0> or am I wrong, I've not checked it\ <2> It doesnt work <5> i'm not that deep into it but i always thought that it doesn't matter and that these two ways of coding are doing the same <2> Ill paste the code in pastebin <0> new String[]{ " Roeien " } is not thae same as String [] s = { "mmmm" }; <5> please explain <0> the { } is for initialisation only afaik <0> or am I wrong <2> http://pastebin.com/505901 <0> ? <2> thats the relevant code <5> and i always thought that in both cases you'll create a new String array with the p***ed string object(s) <2> calchas: I know about the netbeans cl***, but ive contacted my teacher, and he wants me to use netbeans cl*** <4> what an *** <0> my bad the first syntax does work <0> but it's not readable compared <2> rob_uknow: I know, but I cant help it, he's the one who decides if I p*** it or not <0> ilsn, good luck <0> I'm not sure what the benifit of AbsoluteConstraints is comapared to a null layout <2> Then it would be all stretched out over the form <0> and in any ccase a null or equivalent layout is nearly always horrible <0> ilsn however your the one who decides if you learn something or not, hang on to that bit <4> nice <4> wrong window <2> Wrong window? <4> wrong chat window <5> ilsn: i missed some of the conversation. where is the problem? <2> that the JList isnt filling up itself with the listmodel <0> are you updating the JList after the GUI is visible ? <0> if so you need to call validate or invalidate on the container to get it to refresh <0> test this by changing the size of the displayed GUI on screen and seeing if it apears on resize <2> calchas: wow, you completely lost me in 3 sentences <0> are you updating the JList after the GUI is visible ? <2> yeah <0> lett's answer that one <0> do you call validate() on the main fram after the update? <0> I'm not sure that's a hard question <0> why so long to answer? <0> was I unclear? <2> No, just didnt know about that <0> try it <2> but it isnt filling up after I validate the getContentPane() <0> you may (but shouldn't need) to call repaint too <0> THE MAIN FRAME is the one I usually validate <2> k <2> sorry <4> don't you use a custom render? <4> renderer? <2> yeah
Return to
#java or Go to some related
logs:
s e x y f u c k mela darba mort il-bandli nick de hackeri #linux #linuxhelp #skype #AllNiteCafe #windows #c++ miss kittin +sleazy electro +fisherspooner
|
|