@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> hi can i ask a favor?
<0> i just wanna a link for a free java compiler
<0> can u help me?
<1> javasoft.com
<1> get the J2SE jdk(sdk)
<0> ok thx
<0> is that for windows?
<1> all you need is it, the api docs, thejavatutorial.com, and a decent editor
<1> yes it is
<0> ok thx a lot :)
<1> and most other viable platforms as well
<1> np
<1> the tutorial will lead you through setting it all up
<2> hi
<2> i am using jfilefilter and i choose an image, now i want to put in a jlabel, but i dont know how i can do it
<2> i write ImageIcon imagen = new ImageIcon(fc.getSelectedFile().getName());



<2> jLabel1.setDisabledIcon(imagen);
<2> jLabel1.setIcon(imagen);
<1> java is case sensitive
<1> no pasting code
<2> ok
<2> sorry
<2> i didnt know it
<1> see the swing trail on the tutorial
<1> yes you did, you were too lazy to read
<1> see topic
<1> www.thejavatutorial.com
<3> I have written a cl*** that helps me read easier from files. That cl*** is called fStream. What shall I do in order to use this cl*** in other cl***es, and import it as for example import java.io.*
<4> !seen sad-girl
<4> err... sorry, wrong chan :D
<1> c0s- see thejavatutorial.com
<1> look under using packages
<3> ok thank you
<5> donde pued consegir juegos en java para cel?
<1> basically ensure the cl*** is on the cl***pat, importit and instance the object
<1> RedLabel_ english works best here
<5> mmmm
<5> where i can download java games for phone?
<1> RedLabel_ probably find that in google
<6> where i can download java games for phone?
<7> somebody's now jdeveloper?
<7> somebody's know jdeveloper?
<8> just a quick wuestion, if I already have a file for input created, do I need to say new FileReader( new File("filename") ), or I can remove the 'new File' part and just put the name of the file?
<9> what does the API spec. say?
<8> I see, FileReader already creates a file, so new File is not needed in this case
<8> my bad, it does not create the file
<8> the strange thing is that even when I write to a file that does not exist using FileWriter and do not put new File("filename"), the file is still created, anyone know why?
<9> the file is created at the time you invoke new FileWriter
<8> Throws:
<8> IOException - if the named file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason
<8> yeah, you are right, it does not say anywhere that exception is thrown if it does not exist
<8> it creates it by default
<10> When parsing a text file, how do I read only a single line and not all the lines of the file?
<9> you don't
<10> ok
<10> so suppose that I wanted just one line from the text file to work with
<9> Android_Darc, you'd need to read all the way to that line, unles you knew the offset into the fil
<9> *file
<11> the file reader would browse through all the lines in the file
<10> I am using while ((studentInfo = aFile.readLine()) != null), if I want it to stop at the first line, get some data and store that data in a variable, then move to the next line, what would I have to do?
<9> what you have already done
<10> man... I am so confused :(. thanks though
<9> why? it has nothing to do with Java - more to do with how files are accessed
<9> sequentially or randomly with an offset
<12> how can i extract the source code from a .jar archive?
<13> IGot****: Does it contain source code?
<10> So there is no way to read only one line of the file?
<12> i'm not sure
<12> it keeps giving me erroes
<12> errors
<9> Android_Darc, it is as simple as, do you know the offset? if not, you must read sequentially
<9> is the offset calculable? some binary file formats give you that ability
<13> IGot****: Files don't give you errors unless you do something to them.
<13> IGot****: I don't read private messages.
<9> you can go to the nth line in a file, if all lines are fixed length
<9> since the offset is available
<9> file.seek(n * fixedLength);



<10> I don't even know what an offset is
<9> the number of bytes into the file that the start of the line occurs
<9> can you tell me how many?
<13> IGot****: I think you're still sending me stuff, but I don't see it, because I don't read private messages.
<12> oh sorry
<12> yes
<12> ok
<12> so theres no way to see how the program was made if it doesnt contain source code?
<13> Does the jar file contain source code?
<9> sure, you can read the bytecod
<9> e
<12> hehe
<12> how can i see if it contains source code?
<9> jar -tvf thejar.jar
<13> IGot****: jar tf thejar.jar | grep java
<12> when i double click it it gives me some error with the VM
<12> ok let me try
<13> "some error with the vm" such as what?
<12> "failed to load main-manifest from blabla.jar"
<12> this ones' not with vm sorry
<12> what does that mean?
<13> Then it's not an executable jar file, and running it is pointless.
<9> yes it is
<12> it is executable
<9> it isn't
<12> its a robocode program
<12> i can use the robot when i import it
<9> it's not executable if it doesn't have a manifest
<12> hmm
<12> so there no way of "cracking" the source right?
<9> yes
<9> you'll be hard-pushed finding anyone with an ounce of ethic telling you though
<9> infringing upon IP is frowned upon
<12> hehe
<13> http://www.kpdus.com/jad.html
<12> how about u dont tell me how, but u get it for me?
<12> :)
<13> u? I don't know that word.
<12> you
<14> It's over your bedtime.
<14> :D
<14> if not , I'll start to believe you are a bot.
<13> Are you saying not to be negative?
<12> can anyone get the source for me without telling me how?
<12> or is it impossible?
<12> dont laugh please
<13> IGot****: Why would we?
<12> hmmm
<12> because i'm begging you
<13> That's easy to solve. I can ignore you.
<11> hehehe
<12> no seriously
<12> is it possible?
<9> http://jqa.tmorris.net/GetQAndA.action?qids=44&showAnswers=true How do I convert a .cl*** file back to a .java source file?
<13> IGot****: I don't think you'll get on well with Java if you can't read.
<12> let me see
<12> i can read
<12> so i need a java decompiler
<12> i never knew that there was such a thing hehe
<11> though code comments are not shown
<9> lots is lost through compilation - more than comments
<12> anyone of you have any experience with robocode?
<12> great!
<12> it works
<12> thank you very much guys.
<12> bye
<15> hello, what is the best way to remain undected when surfing, i see java aplet start and i tried to set up a proxy on java web start but my ip is still visible ?!
<13> tor?
<15> what ?!!!
<7> how i can put " in a string? thx
<16> escape it with \


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

#linux
define chinpoko
zabbab
openwrt upgrade are failed
#AllNiteCafe
#AllNiteCafe
#php
#php
javascript prependchild
#linux



Home  |  disclaimer  |  contact  |  submit quotes