@# Quotes DB     useful, funny, interesting





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



Comments:

<0> Just wanted to take you guy's opinion. Is java a preferred a language to create a gui irc client?
<1> depends on the environment to which its going to be deployed/used/etc.
<0> such as?
<1> kierkegaard: how do you expect me to know?
<1> its your project, not mine. We still can't read minds.
<2> Lol.
<0> Uhm, what do you mean by "depends on the environment" ?
<2> Well, if you're on windows, linux or any other operating system, the language you choose you create your application may depend on the OS it'll be used on.
<2> Some languages are better(more sophisticated, or have more features) for an X environment.
<0> Ahh. So it's the OS. Well, I was thinking Windows. So, you think it's easy and good enough to use java as the language?
<2> I personnaly hate creating graphic environments in Java because it's long, confusing and nothing goes as you wish unless you spend a lot of time.
<0> Oh. But is it possible to create an IRC Client? Does java allow socket connections?
<2> Yes of course, the good point is it's easy to create sockets in java.
<0> Then that's good news for me. Thanks for your opinion. ^_^
<2> I made a client/server chat in the past. The socket/multi-threading part wasn't very long. But the client GUI took ages to finish and place everything at the good place.
<0> I also have here one. I guess I'll be spending more time on the arrangement of widgets.



<0> Sockets are available in the java.net.* package right?
<2> Yes exact.
<0> Okay, thanks again. I'm off.
<1> well, gui development is quite easy when using tools like netbeans and the likes. deploying those applications however..
<2> Yes maybe, I never tried Netbeans. I only used code (javax.swing.*;) to create graphic stuffs.
<2> the only thing that actually bugs me, it's the panel part and the fact that you're almost obligated to use GridBagLayout (which is is done through test and error) to create a decent graphic interface.
<3> dom-_- : Use matisse.
<3> dead easy
<3> and nice too
<2> Matisse ? What's that ?
<2> A graphic editor ?
<3> reserve gbl for dynamic forms (say the buttons and fields vary highly on the data)
<3> yeah, the one in Netbeans
<3> but it is also a layout manager
<3> The layout manager is called something different though.
<2> kk.
<1> grouplayout. Its even been implemented in SE6
<3> ok, Lion-O
<4> Did what I say earlier come through okay?
<4> If not, I'll ask again: would private Rational[] cell == new Rational[2] mean it linked two Rational objects to cell?
<4> Please
<4> Anyone?
<4> Isn't anyone here?
<5> Anyone know of a good Apple Java API?
<4> There's noone active but me it seems
<5> darn
<4> ERICwithanH: know java pretty well?
<5> Negatory. I'm taking a Java cl*** and I need a good Java API..
<5> oh, ****.. jGrasp iis for Mac OS, eh?
<4> I'm in my 1st year comp sci.. Just need to know if it's possible to attach two objects to one variable
<5> um, i don't know...
<4> eh, tis okay
<4> I'm getting the feeling I'm not going to know the answer to this one until i go to school tommorow
<5> hehe
<5> yeah, i have two labs and a quiz in java tomorrow
<5> =-P
<5> *two labs due
<5> do you know how I can display the decimal places when i find the average to three numbers?
<5> to = of
<4> Ooh, I've done this before.. Gimme a minute
<4> System.out.printf("%-23s %.3f \n","Standard deviation: ", std());
<4> printf with one of those..
<4> I think it's %.3f
<5> hehe, i don't know what that means. =-P
<5> we're in chapter 2
<5> int n1, n2, n3,;
<5>
<5> Scanner keyboard = new Scanner(System.in);
<5> n1 = keyboard.nextInt();
<5> n2 = keyboard.nextInt();
<5> n3 = keyboard.nextInt();
<5>
<5> double avg;
<5> avg = (n1 + n2 + n3)/3;
<5> i have that, but it only shows the whole number
<4> System.out.printf("%.3f",avg);
<4> try that
<5> nah, that gives me the average of 25.1 for the integers 67, 6, and 3
<4> Hmm, should work
<4> I have "%.1f" up a couple of lines in one of my projects and it puts out 5.0
<4> So reasonable %.1f, .0, %.2f, .02, %.3f, .002



<4> *reasonably
<4> Anyone who just came in know java well?
<4> Need to know if it's possible to attach two objects to one variable
<4> All I need is a "yes" or "no"
<4> 33 people in here, I can't believe it
<6> Yes
<4> Okay
<6> there are only 31 people on this channel
<4> private Rational[] cell = new Rational[2]; would make cell refer to two Rational objects?
<4> I was looking at Xchat's channel list summary
<6> Yes
<4> Okay, excellent
<4> So if cell has two objects, how would I refer to an individual one?
<6> cell[0]
<6> cell[1]
<4> Are you referring to arrays, or is that the way to pick a certain object
<4> Sorry, just making sure
<4> Hmm.
<4> Okay, so that is an array. I feel such a tard.
<4> Damn I forgot alot over the break
<7> hi
<8> morning
<9> hi
<9> somebody help me
<9> i have a problem in javascript
<10> well check the topic then
<10> this is for Java not Javascript
<9> ok
<9> but nobody answer there so i came here to ask my question
<10> but Java is not Javascript
<10> so this is not the place to ask.
<9> i would be very greatful if you help me
<9> ok
<11> hello people, i got an error on this stmt.setString(combo.getString()), how will i resolve this
<11> i hope somebody can give me a hint on this please......
<11> sorry this is the problem
<11> stmt.setString(1, combo.getSelectedItem());
<11> how will i rsolve that
<11> please help
<10> want to tell us what the actual error/problem is?
<11> it seems that the error is the syntax? i dont know how to concatenate quotes and variables like in php =\".var.\"
<11> i dont know how to implement that in java
<11> the syntax for setString is setString(1st arg,"value")
<11> combo.getSelectedItem() ---> gives the value of combo box
<11> but how will i do it in java as setString(1,"combo.getSelectedItem()");
<11> still got an error
<11> deano|wrk....please help
<10> whats in your combo box?
<10> a String I presume
<10> you still haven't actually told us what error u are getting
<10> because if the combobox is populated with a String, then u shouldn't be having a problem
<11> deano|wrk....***uming that you will do this....how will you implement that this is acceptable in java setString(1,"textfield.getText()");
<10> surely u want to store what u get back from the textfield
<10> not the actual text "textfield.getText()"
<10> i.e. setString(1, textfield.getText());
<11> deano...if we try that setString(1, textfield.getText()) <----- this returns a error if it will run then it solves my problem
<10> u keep saying it will return an error
<10> what error, what does it say
<11> im sorry, i forgot the error, im already in my house, i just ask the right implementation of that
<10> I think u need to go back to basics of Java
<10> try the Java tutorials etc
<10> if you do setString(1,"textfield.getText()"); then in the DB you will see "textfield.getText()"
<11> will i do this setString(1,"textfield.getText()") or setString(1," + textfield.getText() + "
<10> instead of the actual value of the textfield
<10> neither
<10> u do setString(1, textfield.getText());
<10> u really need to go back the basics.
<11> ok ill try tomorrow...thanks
<11> in php when you do like this href=\".$var.\" ---> intepreted as href="$var", in vb select...where x='"
<11> & var & '";
<10> yes, but this isn't PSP
<10> you do not put the output of functions in quotations
<10> otherwise that just creates a String with what you put in
<11> but its alright, only that i dont have a good english


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#c++
kar + kind of magic
hungarian is like
#linux
#london
Google adsense clicker
monneygram
#linux
#MissKitten
#linux



Home  |  disclaimer  |  contact  |  submit quotes