| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> http://java.sun.com/j2se/1.5.0/download.jsp <1> Daria21: has a auto msg virus "Tiny_Woman_Swallows.rar" <1> lol <2> I can back that up. <2> She really does swallow. <1> http://www.google.no/search?hl=no&q=Tiny_Woman_Swallows.rar&btnG=Google-s%C3%B8k&meta= <2> I mean, er, it private messaged me too. <2> Thunder^: Where's your humour? <0> he's danish <3> whoops.. clicked the next line <3> the lines moved up :-D <3> sorry rickety <0> they make good cartoons <3> who? and what cartoons?
<2> I'm waiting for www.muslimlemmings.da <2> dk <1> anyway: im programing a line drawing program, now that im done, i was wondering how do manipulate the line's color??? the standard is Black, and if i want ex. the color red on the line, which command do i use?? btw, im using " g.drawLine " command. <4> so at some magical point through the flow of this application I revert back to default character encoding. <2> e^lnx: http://cime.net/~ricky/netsim/pi/graphics.html <0> call g.setColor(Color.green); <0> before drawing the line <3> e^lnx: Check out the Graphics in the API <1> oki <3> e^lnx: Article about how to paint on JPanel -> http://java.sun.com/products/jfc/tsc/articles/painting/ <1> tnx <1> Rob_uknow: g.setColor(Color.green); almost works, when i draw the line, the first line becomes black, and the second is green <0> set the color before drawing <1> the rest of the lines are green <1> oki <1> Rob_uknow: tnx, it works fine now <0> good <2> Haha, profcasting - podcasting of lectures.. <0> podcasting isn't dead? <2> Lecturing isn't dead? <0> its not? <0> its all selfstudy nowadays <0> who needs teachers <2> Most students in the UK need lectures for motivation. Or they need something. <0> yeah, don't you think thats odd? <2> They're too fresh out of school and college, they're used to being told to do stuff. <0> a student choses a study <0> and then he/she isn't willing to do anything for it <2> Many walk into studying as the natural progression. <0> it was my own decision to study computer science <0> hm <0> you think thats the reason? <2> It's a reason. <0> its a sad reason <2> My students look at me oddly when I say that I don't take registers, for example. <0> I don't know what that means <2> A register is a record of attendance. <0> oke <2> "You're adults, what do we need registers for?" <2> *blank looks* <0> indeed <0> we had that aswell <5> But its a logical one, somewhat. I mean; if you're used to Windows and finding your way around isn't it somewhat obvious that some people will keep that in mind when chosing a "it study" ? <0> but eventually that changed <0> because people didn't attent cl***es <0> didn't do their homework <0> eventually teachers did check if people did their homework <0> and even wanted you to make the homework during the lessons <2> Well, one way of sorting out the attendance problem is to teach things in lectures. <0> yes, but there was no teaching <0> just making the homework <5> that stinks <0> indeed <2> I didn't set the ***ignment until I'd finished everything that I considered essential, in the lectures. <0> i'm sure it was good for the people who where lazy <0> but not for the majority <5> Rob_uknow: hi there btw ;) Reminds me of an old teacher I had who thought that "teaching" was basicly reading the book aloud. Whenever someone asked a question about a paragraph he simply read it again. <2> Now, yes, most of the lecture time is taken up with helping and reexplaining things to people, so frankly, I'm not interested in attendance numbers. <2> ..for their ***ignments. <0> a collegue of mine told me that during school the problem is only brievely adressed
<0> and the solution is presented <2> One of them complained that the exercises were all copy and paste and modify, not writing programs from scratch. It turned out that he'd only attempted the first exercise from each week. Still, after 40 minutes 1:1 tuition, he's ok now. <0> and that instead of analysing the problem people are analysing the solution <0> if you know what I mean <0> lala <0> oops :) <0> tera <0> got laser? <6> No <6> Today ... I shall only be ... <6> terasuperlumniscense <0> nice <6> I bought these superduper diodes because my boss complained , that you could not see the green diode in daylight. <6> from 45 mcd to 1500 mcd <6> Powah!!! <0> what happened? <6> It is like a little laser beam. <0> burned a hole in the wall? <6> VERY very very clear. <0> you better shouldn't look directly into the beam <6> It has to light through a keypad cover with a white-diffused hole. <2> mcd is a currency only used within McDonalds. <6> However, it does light right through the black part too :D <6> I think it is mili-candela. <2> candela is Spanish for flame. <6> cd : The unit of luminous intensity; basic measurement of lighting technology. 1 cd is defined as the luminous intensity generated by a monochromatic light source with a radiated power of 1/683 W at 555 nm. Equal to 1 lumen per steradian. <6> According to google. <6> hm, 1 cd is actually very close to one candlelight. <6> So my diode lights like 1,5 candle ! <6> woav. <0> do you have a pic ofi t? <0> of i t <0> crap <6> no, sorry, I can find the page where I bought it. <0> too bad <6> here : http://www.ledtronics.com/ds/dis1024/default.asp <0> ea is per piece? <6> presumably <6> they also have arrays and other fun stuff <0> but you used it for a keyboard pad? <7> i would like to align verticaly two decimals numbers in a jtextare ? <0> try \n <7> it works <0> whoot <7> thanks <0> JEditorPane can also render html <0> so then you can also use a h tml table <2> Or CSS. <7> yes but ive GOT to use JTEXTAREA <7> but html is really a good idea <2> rbo: Then you're probably doing homework. <7> could i create a table in jtextare ? <0> you don't <7> yes <2> rbo: See the topic. <7> ok <8> Hey guys...I could really use some help here...I have a J2EE webapp that uses a utility cl*** called DatabaseUtils to initiate some common JDBC stuff...the constants used to perform the initialization exist in a property file located within my webapp directory...however, I keep getting a Null Pointer Exception b/c the utility cl*** doesn't know the path of the file... <8> ...I want to avoid hard coding the path of the file if possible and I can't use getServletContext().getRealPath() because the DatabaseUtils cl*** is not a servlet <0> so? <0> you could create an init servlet <8> Rob_uknow: was looking for other ideas if you have them...spent a good four hours on this so far <0> that starts when starting the servlet container <0> you can also probably use getCl***().getResourceAs <0> to read the file from the cl***path <8> In my other servlet files I use an init() servlet to load in the property files effectivly performing as a constructor...not sure if i follow you how i can do the same thing with non-servlet cl***es...are you saying make them servlets but just give them an init() method? <0> no Gevaudan <0> you could make a servlet <0> which starts when the servletcontainer starts <0> this sets some static attributes of the dbutils cl*** <0> dbutils.host = "bla"; <8> So if I create a servlet that in its init method loads in my property files and then I provide some static accessor methods for retrieving property values, I can just call that cl*** from my DBUtils cl*** to get those values...basically meaning I won't have to load the props directly for each of the files that rely on them? this seems very promising if I understand correctly <0> yes and no <0> the DBUtils cl*** doesn't have to know the init servlet at all <0> it should just provide some means to set the properties
Return to
#java or Go to some related
logs:
#linuxhelp ubuntu GLX_EXT_texture_from_pixmap is missing atansione borrar ubuntu java.lang.OutOfMemoryError iReport #AllNiteCafe #AllNiteCafe #AllNiteCafe #AllNiteCafe mendekx
|
|