@# Quotes DB     useful, funny, interesting





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



Comments:

<0> has anyone here used spring?
<0> how about Hibernate?
<0> guess not
<1> try the freenode network
<1> they have a #hibernate channel
<0> really
<0> sweet
<0> i cant see it... in the IRC server list?
<0> there is freedomchat .. thats it
<2> hi all
<3> acme_: hi
<2> hi
<2> how are you ?
<3> good u ?
<2> ok
<2> are you java programmer ?



<3> little bit.
<2> thank you..
<2> chatting here is cool :)
<3> :)
<2> is anybody here programmer ?
<0> do you have a question?
<3> acme_: what's the problem ?
<3> geez
<2> yes, i have a question.. i am typing..
<0> what kind of question is that, on a channel like this?
<4> nah, we all love living on Java
<0> you think we are from Indonesia?
<2> i have question about java programm >!
<3> haha
<3> :)
<5> do you? We can't tell
<3> yes I have a small dic
<5> mostly because you haven't asked it
<4> ah, evening jottinger :) At least I suspect its evening there, seeing how its morning here on wonderfull Java :P
<5> yes
<0> ha
<2> how long time would it take to java programer to write "tetris" with very very simple graphic ?
<5> couple of hours
<2> i mean, to write the program from 0..
<5> acme_: couple of hours
<3> acme_: depends on who you ask
<5> DAMN JAKARTA TO HELL
<2> hm :)
<2> it means i am very bad programmer :(
<4> perhaps. I'd chose the word 'inexperienced' but heck, whatever rocks your boat.
<3> acme_: i was once too!
<2> i have to cry :(
<4> ok, forget what I said then :P
<2> ok, thank you :)
<2> i suppose it was the answer of professional :)
<2> bb
<5> sometimes I swear apache as an organization would disappear from the face of the earth for just being retarded
<3> jottinger: ?
<5> pissed at the dependency hell
<5> that they don't even have the decency to TRY to address without maven
<3> BryinAFK: what are you trying to do ?
<6> I have a question regarding the behavior of the Scanner cl*** that I could not find in the J2SE1.5 API documentation or by searching Google. At best, what I want to know is obliquely implied through Sun's articles about "What's New In Tiger" and JDK Tech Tips about the Scanner cl***.
<6> What I want to know is if the Scanner cl*** magically handles buffering of the InputStream object you give it, and if so, how?
<6> Method signatures public String nextLine(), public String findInLine(Pattern pattern), public String findWithinHorizon(Pattern pattern, int horizon) suggest that these methods "may buffer all of the input".
<6> But there is only one hint in the whole document as to what that entails: By reading another method signature, public Scanner skip(Pattern pattern), and its documentation, where it says, "Since this method seeks to match the specified pattern starting at the scanner's current position, patterns that can match a lot of input (".*", for example) may cause the scanner to buffer a large amount of input."
<3> you don't want buffered data ?
<6> I did not say that.
<6> I said I want to know how Scanner cl*** seems to arbitrarily determine this stuff.
<6> As a programmer, its important to understand the performance of the Scanner cl*** under wide circumstances, otherwise how are you going to optimize your code?
<7> hey
<7> is it possible to add various buttons and labels to an applet, and then once a button is clicked remove these elements and add another different set of buttons and labels (like a different screen in the program)
<8> yes
<8> you can add and remove more or less any gui element to a container
<8> however using different gui panels (screens) might be a better solution (depending on the context), but you can do it either way
<8> check the api docs for JPanel/Container and layout for details
<9> whiting maybe card layout could help you
<9> check www.thejavatutorial.com for a complete swing tutorial
<7> its for a game though... so eventually ill be using paint()
<7> does that matter?



<8> whiting : that depends on what you do
<8> usually you leave the display of gui components to the system and do not interfere with their own paint methods
<8> but there's no problem to use use paint() in your own (unrelated) panels)
<7> ok that sounds good then, i was going to have separate cl***es for each sub menu in the game (main menu, settings, game setup etc).
<8> unless the game itself consists of moving gui components around
<7> nar dosn't,
<7> the gui components are just to set the game up, play button etc
<8> ok
<8> they you would leave their handling and display to the system
<7> yes,
<8> and just register listeners to be updated of their events (button clicked, menu chosen etc ...)
<7> yep can do that bit,
<8> and you game ideally runs in a separate JPanel
<7> so each menu would be in a separate JPanel and the game itself as well?
<7> i came from Flash and im learning Java, sorry if i sound stupid, im reading up at the moment..
<8> well it's best if you browse or if time permits read through the swing tutorial completely
<8> method/names and methodology in swing are likely to differ from flash
<7> yer, i was using just normal gui components not swing
<7> but ill go read about swing,
<8> menus for instance are usually not added to jPanels afaik
<8> but attached to JFrames
<7> and frames can be added to the cardlayout?
<8> java.sun.com has a link to tutorials
<8> in principal yes, but you wouldn't do that
<7> doh, it nearly made sense then
<8> Jframe usually presents a desktop window
<8> but there is Jinternalframe, maybe you can use that
<8> it also depends what you consider a menu
<8> in java menu is a specific gui item refering to the things like window/popup menus of applications
<8> it does not refers to collection of gui components for input
<7> my definition of menu for this is just, a heading, then a few buttons below it linking to other parts of the program
<8> i thought so java menus have nothing to do with buttons
<7> ok, what would i call what im referring to?
<7> a collection of gui components?
<8> so in your case you would just add gui components (buttons, lists, inputfields, etc) to a jpanel
<8> i'm not aware for a specific name for that
<8> but i suggest take some time to browse to the swing tutorial - many things will be clear then
<8> and then maybe ask questions about things where you got stuck or that remained unclear
<7> yer i will, i dont want to be annoying
<8> people here also probably will be more responsive to a detailed/concrete question concerning some java component
<8> http://kilian.phpnet.us/computer_science.xhtml has a view java links and tutorials
<8> but all you need right now is probably sun's swing and language tutorial
<7> http://java.sun.com/docs/books/tutorial/uiswing/14start/compile.html
<7> is what im reading through...
<8> hmm they changed the layout
<7> kmh: thanks for all the help i think i get it now and i got it working..
<5> morning
<10> hi
<10> i have a problem,, when i try to run jasper viewer nothing happen
<10> i run the program in another computer and its works
<4> javalen: check the java version and such.
<4> in short: check the differences between the two computers where Java is concerned. Not that hard to imagine hmm?
<10> well, the machiche whicht runs the error
<10> has java Standar verson
<10> 1..5.0.07 update
<10> and the others machine i installed the same java
<4> then there is way too little context to answer. "it doesn't work" does not provide enough clues.
<10> hate myselft,,, the computer had worked propely for 2 days
<10> then its appear
<10> i think its has to do something whit norton
<11> hi lion, everyone
<11> javalen: how do you try to run jasper viewer?
<4> Yo Clackwell !
<10> i did a file called doctorprint
<10> so,, i writte so
<10> doctorprint print =new doctorprint("5");
<10> print.run();
<10> and its works for anothers computers
<11> javalen: you said that you are trying to run a "viewer" program, and that nothing happens when you try to run it. is this correct or did i misunderstand something?
<10> yes,, in the method run
<10> i try to run a viewer program
<10> and its trows me a file error iin my deskopt
<10> sayind something about invalid pc line number in nt/jasper dataset


Name:

Comments:

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






Return to #java
or
Go to some related logs:

What instrument did Glenn Miller play ?
#apache
dns_txt.c: undefined reference to `__res_query'
Armadillo 1.xx - 2.xx crack
geodesic sphere^code
#teens
#php
#linux
#c++
#AllNiteCafe



Home  |  disclaimer  |  contact  |  submit quotes