| |
| |
| |
|
Page: 1 2 3
Comments:
<0> salam <1> salam malakim <2> hi: can anyone give me an example or two of how/why i would need to use a custom cl***loader? <1> helloworld: Heard of Google? <2> of course <2> i fail to see the connection though; enlighten me please <2> i couldn't find anything <3> sup guys <4> 'lo Bryin <1> kia ora <4> So what companies hiring? <4> mmm that reminds - I got an email from a recruiter regarding a job at Sun NZ <5> when i try to cast a value from a cell i get 2 situations: if the value is 0 java.lang.Cl***CastException:java.lang.Integer, if the value is diff from 0 java.lang.Cl***CastException: java.lang.String. Any idea? <6> a cell? Jtable? <5> yes
<7> wrong casting <6> how ar u doing the casting? <7> wrong way of casting em <5> (String)tablemodel.getValueAt(row,col); <6> always the same column? <5> yes <6> and how do u made the model? <5> DefaultTableModel <6> ure inserting strings or Integers? <5> Integers <6> in all the cases <6> ure not inserting strings? <5> nope i use RecordSet.getInt(); <5> but it tried to cast to Integer and the same problem :( <6> its an editable table? <6> or just to show the data? <5> yep <6> yep? editable? <5> seems there is no problem if i use tablemodel.getValueAt(row,col).toString() <6> no <5> the cells from that column are editable <6> ure not gonna have problem with that <6> i think <6> maybe, test this one <6> i think, the values that are turning into strings, are the ones ure editing <6> so u make the table and everything is fine <6> then, as u start editing, the Integers, start to turning into Strings <6> in the edited cells <5> :) <6> i thinks i've seen a similar behavior <8> morning <7> ToInt() <9> how are objects transmitted in java ? <7> what? <10> hi <11> morning gilead. <12> questions are allowed? <4> yup... <4> ask away <12> how can I change the sun from jre that apear while the applet is loading in background with a progressbar that show the loading progress <10> I doubt you can do it zanu but it's also pointless <10> zanu: what would you like to achieve by this? <12> i don't argue about the point of, someone ask me that <12> so is not posible? <10> at least I don't think it is <10> zanu: if you want a progress bar then load a minimal amount of code and provide your own splash/progress bar/etc <10> ...while loading the rest of the applet <12> I can make this with 2 applets? <12> one for progressbar and the other for the program? <12> and use threads? <10> is your code that big or data it uses is big? <12> to link them <12> is 1M <10> what is? <12> icons <12> and sounds <10> so no problem, load your code the normal way and then load resources separately <10> google for how to load resources yourself <12> I load resureses in init() <10> that's ok, you just need to provide a progress bar /custom splash while loading data <12> so the first who will start is the progressbar and by using some flags by example I can tell to the progressbar the progress of loading
<12> knowing how many resources I have <12> is that a soution? <12> solutiuon <10> yep <12> thanks man <10> no problemo :) <12> now I', go to work <12> :) <10> be sure to read Sun's tutorial on Swing <10> you'll need it <12> ok, tks <12> I supouse you have notice that I'm a beggener :) <12> beginer <13> morning <14> morning. <14> you must be up way before the sun... <11> jottinger / wlfshmn. <14> Deano: I've got it installed as well ;) <14> Deano: But I lack a recent IDEA license, and work won't be providing any funds for new stuff. <11> bummer :-/ <14> Indeed. I'll probably get myself a personal license sooner or later though, but I figure I should give the other major free ide's a chance before I discount them again. <14> I prefere to have well founded preconcieved notions about stuff. <11> yeh I'm similar <11> I must admit I've not given Eclipse a fair chance <11> I've played with it many times, and become frustrated every time <10> just like me with NB :P <11> so I've been a bit premature and written it off quickly <14> I will be using netbeans at work to a large degree though, as we have a bundle of custom plugins for it to do our modelling and code generation. But nothing says I can't use more than one IDE, if I find it helps me <11> IntelliJ isn't broken for me, and we have licenses here, so I don't see any need to switch <14> I have a 4.5 license, and a bundle of unused 3.x license <14> and ofcourse, I have an EAP license installed <4> eap++ <14> to be honest though, the current EAP trail hasn't added a great lot that I have so far had a need for <4> I like the new changelists, and the improvements to focus on linux are the two things I'm loving. <14> I don't use it on linux, and the changelists I don't believe I've encountered.. <13> I've stopped tracking the EAPs <13> which kinda ****s <13> I used to enjoy the fear and suspense that would ensue, hoping that neato things that were promised would work, like the 'a' key <14> talios: ah, you mean the changes tab.. <4> wlfshmn: yep. <14> talios: yeah, I suppose that makes it a bit easier to track, but normally I only deal with a handfull of files between commits, and use the sidebar to check changes, and recheck them before commit <4> *nod* same here - but even then I'm liking beable to flag some changed files as "don't really commit these, or bother me about the changes till I want to..." <4> I like the run-inspection-before-commit thing, thou on some older projects thats quite painfull :() <14> there was run-inspection-before-commit in 5.1, IIRC <4> mmm, ahh did that come in then? its all a blur :) <14> it's in my backbone to do that manually though, so... <14> still, that changes tab alone wouldn't be worth the upgrade in any case ;) <14> hmm. eclipse isn't looking all that bad <14> good amount of plugins availible too <7> eclipse is bloat <15> most IDE's are IMO :) <7> jcreator is my favorite <15> hmm. Last time I messed with java studio creator I didn't really think much of the "slickness" factor :) <13> Lion-O: JSC is for morons to use JSF with <13> JCreator is not the same as JSC <15> jottinger: aah, good to know. <15> aaah yes, now I see. I tried to download their freeware version myself but eventually stopped because you have to allow them sending you e-mail. <15> hehe :-) <13> using the el wikipedia is not fair <13> how's daph, BTW? <15> jottinger: naah, I'm going to abuse my hotmail adress. I hardly look at that one so whatever stuff they decide to send me is fine :) <15> jottinger: oh, she's fine thanks. Basicly still the same, finally found a nice part time job of her own and every now and then helps out with mine :) <13> cool deal <14> jottinger: Was your JFS+JCS comment intended to say you disslike JSF, or just that you disslike JSC, and that JSF is a typical usecase by the less gifted? <14> Lion-O: daph has geek blood? <13> wlfshmn: JSC is okay, it just generates what is, effectively, running-but-awful-code <14> Ok, I've never tried JSC, I was responding more to what I saw as a judgement on JSF, which might have been pertinent information. ;) <16> helo
Return to
#java or Go to some related
logs:
Hieroshima and Nagasaki
sdl visual express msvcrt.lib #AllNiteCafe #linux goatse.cks #windows #javascript Xmit Power wrt54g v5 #linux sunt fata si caut
|
|