| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> so you'are in a channel speaking about java but you'r afreaid about java applet that you haven't made ? <1> the applet could contain malicious code <1> and you happily clicked yes to run that code <1> calchas is only pointing out that its not wise <0> so they'll read my email telling that I'm searching a guy doing the same thing for me <1> and if you put an applet no your website to record sound and people need to click yes, then not many people would want to record their voice anymore <1> you're not a smart businessman <0> I'm not a businessman <0> I would'nt be here :) <2> Wawan java is much more than applets, in general applets are a poor way to do things <0> java is in so many thing I know <0> Even financial software are build with java <0> But I'm stuck with this stupid recording stuff <1> stuck how? <1> you can buy the recording applet for 300 dollar <1> buy it and be gone
<0> yes but it's not gpl <0> CAn't change anything inside <1> why would you <1> or contact the author and ask for the code <0> I'll message him <1> or her <1> you never know <0> I bet it's a guy <0> I don't know why <0> Thx for the chat <2> good luck <0> thx again <3> there. I'm off for home. laters <4> what is the opposite command of -jar? to close a jar app? <5> -unjar <5> <snicker> <6> 'lo MaggieL <5> Hiya Talios' <4> how do i close a jar app from the command line? <7> control + c ? <4> no <4> i am looking for something like java -kill c:\program.jar <7> why would you need that ? <7> you have a background java process ? (javaw?) <4> yeah <7> kill it from task manager. <4> i never closed it but it disappeared from system tray <4> i can't, other programs will close if i kill java.exe or javaw.exe <4> and it doesnt show up under the name of the program in task manager <8> what does this line mean? (this.x1 < r.x1) ? this.x1 : r.x1 <9> looks like a comparison of two instance variables, if I got the verb right. <9> so the x1 variable in the current instance (this) as well as the variable in 'r'. <8> so does this mean, if this.x1 < r.x1, set value of this.x1 to the value of r.x1 ? <9> ChAoTiC`: if that was the complete line it wouldn't have meant that since it didn't include 'if'. <10> help me ... <10> button link? <10> <input name="" type="button"> (href ... action? <8> this is java ? <10> java script ... <10> <INPUT TYPE="button" VALUE="Contact Us" onClick="parent.location='mailto:you@youremail.com?subject=The subject you want to appear&cc=you2@youremail.com'"> <11> Can anyone tell me how to get this right so that it starts both threads? http://pastebin.com/656861 <11> anyone? <12> patience <11> ok <13> Sigh. One of these days I should take some time to actually read through the ANTLR manuals instead of always creating new code from existing templates. <11> is it possible to push a hastable or another object through a socket? <12> Slade: yes, by way of serialisation <12> is that advisable? not sure, sometimes it seems more trouble than it saves. <13> Hey, speaking of serialization, <13> Eclipse has been producing warnings for quite a few cl***es, complaining that they don't include a serial number field, or something like that. <13> "The serializable cl*** Foo does not declare a static final serialVersionUID field of type long" <13> That's from declaring cl*** Foo extends ArrayList <13> Err, actually cl*** Foo extends ArrayList<Bar> <13> Is that anything I should be concerned about? For now I'm just ignoring it. <14> g'day <13> Hi <15> hello <14> hello
<15> hello <15> somebody here? <14> yes <15> hhe <15> :) <14> anyone else will say the same thing I have already told you <14> import java.util.*;cl*** X{{List list1 = new LinkedList();}} // compile this <14> it *will* compile <15> ok <15> :) <15> i try again :) <15> many thanks about it <15> Vector lista2 = new Vector(); <15> LinkedList list1 = new LinkedList(lista2); <15> lista(list1); <15> i did it this way <16> Hi i am using Tomcat and after submiting a form , i get this error: La mthode HTTP POST n''est pas supporte par cette URL...what's wrong? thanks <17> I woke up yesterday and decided to learn java. anyone know some good resource on the net? <6> java.sun.com <18> How can I reference non-static data members (global/non-static variables) from static context? I declared BufferedReader br as non-static and I wanted to use br in main() <6> construct an instance of your object. <19> mujahid : http://kilian.byethost5.com/computer_science.xhtml <--- plenty of links/material for learning java <18> Talios: An instance of my object? Meaning..??? like create an instance of the current cl*** that I'm working in? <17> kmh: nice. thank you <19> doseryder : meaning br = new BufferedReader(...) <19> doseryder : you can also create an instance of your currebt cl*** to use it in its static methods <6> kmh, more - if br is non-static, he can't access br from his static methid, unless he does "new MyCl***().br" <19> doseryder : but if you only need a Reader just create an instance of it <19> talios : did i say something different ? <18> kmh: your first suggestion. br = new BufferedReader(). I cannot reference br in the static main() not permitted <20> doseryder: I generally encourage people to only use static in public static void main, and to only have main in the main cl***. <19> doseryder : i meant do do that line in your main method <18> my main is static <20> doseryder: Yes, and nothing else needs to be static. <18> kmh: it cannot be done. main is static but br is not <20> doseryder: Is br defined in the same cl*** as main? <19> doseryder : but if br is supposed to be a member variable of your cl*** it won't help of course <18> rickety: and talios is suggest creating an instance of my cl*** and do something with it. and that something, i'm trying to figure out. thats the only part i'm a lil unclear about <19> doseryder : if br is a member of your cl***, you could a) declare it static or b) create an instance of your cl*** in main <20> doseryder: Let's convert your error into something you understand. <20> doseryder: Move br to a separate cl***, so that main is the only thing in the cl*** it's defined in. <18> kmh: yes, but I don't want to declare br to be static. I'm trying out creating an instance of my cl*** in main. I never tried that b4, i'll play around with that. Let's see if i can get it to work. afk <19> doseryder : use talios' suggestion, create an instance of your cl*** in main <20> kmh: Yes, but things are simpler when 'your cl***' isn't the same cl*** that main is in. <18> rickety: a quick question. So I guess I would have to declare variable within the main() to retain that new instance I create by doin "new FormatTxtFile().br" rite? (maybe this is a rhetorical question) <20> Yes, declare the variable. <20> TextFileFormatter formatter=new TextFileFormatter(); <18> it worked! :) Actually for my purpose its <18> BufferedReader br = new FormatTxtFile().br; <18> within the static main() <19> rickety : yes but i ***ume that was his situation/problem <20> Why not just instantiate the BufferedReader within main then? <20> BufferedReader br=new BufferedReader(stuff..) <18> BufferedReder br is a data member. a non static global variable <18> and I wanted to instantiate it from static context which is the main() <20> Global variables are a bad idea. <18> but it could be done like how talios was telling me by creating an instance of FormatTxtFile <20> Yes. There is more than one way to do it. <20> But not all ways are created equal. <19> nor do they lead to <Rome :-P <19> despite being holy week :) <18> Where do I paste my code? I can't locate it in the javafaq.mine.nu page? Is the "add Faq" it? <19> www.pastebin.com is an option as well <19> and post the url here <18> I got disconnected just now, sorry are you guys still with me? :) <6> 'lo <18> http://pastebin.com/657297 <20> doseryder: br is an instance variable, a non-static field. That means it is ***ociated with an instance. <20> doseryder: main is a static method. That means it is not ***ociated with an instance. <20> doseryder: Therefore, when you do br=something, in main, javac doesn't have an instance that contains br. <20> doseryder: http://pastebin.com/657309 <20> I've moved some stuff, changed the fields to public and added comments starting //RJC <18> rick: RJC. Is it an acronym for Revised Java Code? (Its my guess)
Return to
#java or Go to some related
logs:
#AllNiteCafe #chatzone #linux #linuxhelp #linux jaascript + format a string ppd lp2844 force refresh dns linux #london #linuxhelp
|
|