| |
| |
| |
|
Page: 1 2 3
Comments:
<0> schitzo: 1.3??? <1> looks like a number <2> indeed, I'm on subversion 1.2.3 and wasn't aware of a 1.3 <1> i use cvs <2> but indeed, a 1.3 was released.. <2> looks like mostly bug fixing and performance tweaking, and updated language bindings <2> I should rebuild my berkley respositories into that other less breaky format.. <2> but not today. today I go home. laters. <1> bye wlfshmn <3> mike2_: yeah. 1.3... comes after 1.2.x <0> schitzo: oh, subversion, thank god, thought you were talking about java! :| <3> mike2_: hahaha <4> hi <4> what is the easiest way to add a clickable image on an applet ? <1> hm <1> extend the button cl***
<1> override paint <4> well the button will be 3d <4> don't need to have a button <1> doesn't matter <1> well you asked 'easiest' <1> but you could look for already made stuff <5> Canvas, override paint to place image, implement mous listener to pick up click <5> mouse <4> good idea <6> hi <6> were i can found java compiler for mobile app <5> javasoft.com <6> what are name of compiler i download <6> that J2ME (Mobile/Wireless) is right <5> top left, read and guess <5> do you know anf java yet <5> any <6> what are anf <6> i know same info about java <5> you need to learn java before using j2me <5> www.thejavatutorial.com <6> but i need just complile 1 code <5> off you go then <6> ok im there <6> calchas <6> what are compliler here <6> http://java.sun.com/j2me/download.html <5> well you will need to read and apply your existing knowledge of java to work it out <7> I've created a GUI cl*** extended from JFrame and added a bunch of components, and some buttons. What is an 'easy' or good way to do when setting up the action listener ? If I create the actionlistener in another cl*** are there any ways to 'forward' the action events ? Code is here: http://pastebin.com/523112 <5> I usuall implement action listener in the main cl*** <5> and use a if construct to break out the events <5> alternate is to use anonymouse inner cl***es, but that can slow stuff down a lot <7> hm <8> final JFrame me = this; button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { me.doThisAndThat(); } is a way. <7> yes <8> or { ... some short necessary stuff ... SwingUtilities.invokeLater(new Runnable() { public void run() { me.doSomeLongerStuff(); } } <7> calchas: when implementing the actionlistener in the main cl*** do I need to p*** the listener to my "extended JFrame" through the constructors to be able to add it to the buttons ? <8> stops the buttons from not updating and other anooying side effects <5> I implement in the cl*** extending JFrame <7> aha <7> I don't believe I understand this "separate the gui from the other stuff" well enough :) <6> any one know were i can found usb flash disk repaire or recovry tool <5> and using threads for any 'work' (non gui) as teralaser is saying, is essential but aside from your question <7> Googleman, I know HP has some freeware stuff somewhere on their site. Dont know if they recover or just format though <6> u can refer me <6> my flash disk known as security device <6> in windows XP <7> nope, been a long time since I used it and I dont have the tool anymore, :/ <6> but is an sample flash disk 512m <7> if windows finds it, can't you recover data from it just as another fat drive ? <6> i want to recover me flash disk <6> not data <7> calchas and teralaser, thanks for these thoughts, I will look into them <5> np <6> wen i plug flash disk windows detect as security device <5> Googleman this is a java chan <6> yes i know <6> but if any one can help PLZ <5> tghey have, and this is getting old now, so maybe you could stick to the topic or find an appropriate channel <5> -g <9> hey
<9> why whan i add a CR, i get "')' expected" ? <10> add it where?? or when? <9> when i print text <9> ("Voici l'aire :"+(2*a*b+2*a*h+2*b*h)+"\u000dVoici le volume :"+(a*b*h)); <10> dont paste code here <9> sorry< <10> look the faq, theres a paste web <10> paste it with the CR, to see the error? <10> the faq in the topic <9> \u000d is the ce <9> cr* <11> yes that's translated lexically <11> ("Voici l'aire :"+(2*a*b+2*a*h+2*b*h)+" <11> Voici le volume :"+(a*b*h)); <11> that won't compile either <9> i want to print 2 lines <11> use println twice <10> or use \n <9> i use another command then println <11> \n is incorrect <11> http://jqa.tmorris.net/GetQAndA.action?qids=5 <9> \n works <11> use PrintWriter.println or System.getProperty("line.separator") <11> no it doesn't - it just appears <11> http://jqa.tmorris.net/GetQAndA.action?qids=62&showAnswers=true <12> hi is anyone here good in math>? <12> i am tring to make my own Arrow cl*** in java <12> and well i am having a mathematical problem <12> http://www.sandtenterprise.com/tipu/mathprob.JPG <12> the question is posted at that link.. <12> if anyone can kindly help me out <5> user just use a rotation from a std position <13> any recommendations for an experienced C++ and C# programmer who wants to get into Java? I need a resource that goes into the technical details and does so quickly. Thanks in advance. <14> the sun java tutorial is good <14> i had no background in java 3 weeks ago, now i have some <14> did C++ in school for a bit <15> C# and Java have a lot in common <13> exactly, and I've written a few not-so-trivial java applets, I just need a techinical document that describes some more advanced features of the language <10> thejavatutorial.com or thinking in java <13> thanks <16> how can I destroy an object and all it thread <17> Hello all <17> My sis asked me to create a midlet that will give a love match percenatage comparing two names... The thing is, i've got no clue on how to make such algorithm... any idea??? <18> Just pick random numbers based on the input. <17> yes... simple. <18> x = hash(boy) + hash(girl); match percentage = x % 100 <14> x = hash(boy) + hash(girl); match percentage = x % 100; (if boy == "anxt") { percentage = 1} <14> wait i might have stated that drastically wrong <17> lol <17> thanx for your help guys <14> http://rafb.net/paste/results/MR2l1R32.html <14> could someone have a look at this? <14> it is my first java program <19> What's the question? <19> Zoe28 is a spammer <14> i am having a problem stopping and starting threads <14> scope or thread ownership issues <19> Does that program even compile? <14> kwzh, there is a few hundred more lines i cut out <19> I see <14> i wanna just pause the PLayer and resume it, but from different buttons (actionhandlers) <19> My teammate has recommended declaring "interface TermList extends List<Term>", and then always using TermList instead of List<Term>. I think this is a bad idea but I haven't argued it with her in any detail. Opinions? <20> What's your reason for thinking it's a bad idea? <19> I have one situation where I've got a List<Term> already in hand, having obtained it from List<Term>.subList(int, int), and I can't p*** it to a method that's been declared to expect TermList. <19> Also, if I want to create a list, I'd prefer to just be able to write List<Term> tt = new ArrayList<Term>(); <19> I think with her paradigm, I have to instead write TermList tt = new TermListImp(); where I've previously defined "cl*** TermListImp extends ArrayList<Term> implements TermList {}" <19> It seems to me that her model is creating extra work and isn't saving anything except for eliminating the angle brackets. <20> The advandtage of interface TermList would be that you're hiding implementation detail <20> you're right to say it comes at a cost of extra work <19> It's probably not really hiding anything, since all of the List methods are used freely by TermList consumers. <19> Hiding implementation detail is normally done by using a supercl***, not a subcl***. <20> There is a difference between interfaces and cl***es <20> I think the crucial question is wether or not TermList / List<Term> is used outside the module you're writing. <19> It is
Return to
#java or Go to some related
logs:
Java EE 5 SDK First Customer Ship for Windows system (char *) clear c++ linux 12WHAT IS A PORTUGUESE MAN OF WAR? #linux murat kakilli #mirc nisma c-cajt
#squid #AllNiteCafe #AllNiteCafe
|
|