@# Quotes DB     useful, funny, interesting





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



Comments:

<0> is there anything like for each in Java?
<1> yes
<1> since 1.5
<1> < 1.5 you may have to resort to iterators
<0> how iterators work?
<1> check the tutorials at java.sun.com
<1> they explain it fairly well (look for the topic collections)
<0> ohh, while we're at it
<1> they also tell you how to use the extended for loop in 1.5
<0> what's the difference between a Collection and ArrayList in Java?
<1> collections is a general package and interface
<0> excuse me for asking those question, I come from .NET, so I am trying to adjust
<1> containing maps,sets, ***ociative arrays, lists etc
<1> AvihooI : no problem
<0> because since I use and used .NET, I take stuff for granted
<1> what "stuff" ?



<0> and I noticed there are terminology differences
<1> naturally
<0> well, for instance, there's a Vector2 cl*** in .NET which allows you to make mathematical vector operations
<0> while in Java, it's something different
<1> indeed
<0> but it's alright, they are fairly same
<0> the way OOP works, garbage collection, etc...
<1> well they copied from each other so to speak
<0> hey, do you think that generics in Java 1.5 came from .NET?
<1> c# sharp that is
<0> I mean, the idea
<1> and both copied from earlier concepts
<1> well templates are not a .net invention
<0> yeah, they exist in C++
<0> but I thought generics work a bit differently
<1> but i guess the usage in .net may have increased the pressure on sun/demand to implement it
<0> I mean, a bit more than just string replacement
<1> it is not exactly the same as templates
<1> but i still consider templates as the original idea (how that is implemented/incorporated into the language is another thing)
<1> AvihooI : have you used mono ?
<0> I don't have a linux machine so I've never found a use for it
<0> it might be interesting to test on linux servers tho
<0> I mean, if they release a 2.0 version
<1> well yes i'm kinda interested how usable it is in practice actually
<0> well
<0> I know someone who hosts his IRC bot in a linux machine
<0> and he's using mono
<0> and it works the same way it would on windows
<1> one nice thing about java is that you still can switch between different OS relatively seamlessly
<0> indeed
<0> compiled bytecode
<0> but after all, the .NET framework is a semi virtual machine
<0> semi, because it allows you access to win API and low level drivers
<1> yes
<1> but to make use of it you need usable ports to the other OSs
<0> you could always emulate things like the windows API, for instance
<1> which in some way MS is not interested in
<0> yeah, bastards, uhh :P
<1> indeed
<1> though ibm, sun, etc are equally lousy but their position does not allow them that much abuse
<0> I am pretty sure that if some open source group wanted to write a managed environment, they could
<0> instead, you see C++ programmers who write abstract layers
<0> you know what Java requires, in my opinion?
<0> it needs properties
<0> lots of people would disagree, but they are more often good than not
<1> properties ?
<0> well, it's some feature that allows you to treat stuff like fields
<0> with get/set accessors
<0> rather than setX(), getX() methods
<0> ohh, and iterators seem to be simple
<1> oh
<1> well those properties
<0> they are eye candies eventually
<1> well you could incorporate then in the language core, but that is syntactic sugar
<0> .NET guys are radical about them
<1> or to put it this way if you use an IDE you do have properties
<0> I know guys who make every public "field" property
<2> Hey does anyone understand why I am just seeing the last line for adding to the container the files of each of the elements(north,west,south) -> http://www.rafb.net/paste/results/fLHkYW19.html
<1> you can only add one component for every location (nort,south) etc
<2> ok
<2> So what is a better Layout for me to read?



<1> if you want to place several at one location you to wrap that with a panel
<1> which means a nested layout
<1> panel is that one component you add and inside that panel you can place or layout whatever you want
<2> ok
<1> i believe the java tutorial has a section on the usage of layouts
<1> they are quite many by now
<1> plus you can combine them in the form of nested layouts as described above
<3> hi is there a site I can temp. post my code so I can give the room a url?
<3> oh
<4> know where i can ask any java/jdbc questions?
<5> ask here
<5> if anyone knows, there'll be an answer
<6> what is the best java gui designer, like swing etc
<1> wi43 : swing is no gui designer
<1> swing is a gui library
<1> all big IDEs have build gui designers
<1> such as netbeans,eclipse,jbuilder, etc ...
<7> sup
<6> thanks kmh
<8> http://rafb.net/paste/results/PwmZBw99.html
<8> can some one help me with opening a frame in new window
<8> I mean a new browser window through japplet
<9> I'm not familiar with it. but this seems not correct => AppletContext.showDocument("abc","_blank");
<9> I mean you should instantiate an object first
<8> i tried AppletContext applet = this.getContext(); this way also
<8> and then called showdocument but it gives error there also
<10> morning
<11> Argenti: good is the morning
<12> i learned serialization today, kinda cool :)
<13> morning
<13> someone here willing to help me with awt.list?
<1> awt.list ?
<1> gui ?
<14> I thought that was just a cl*** that got in the way when you were intending to import the more common List cl*** through some sort of intellisense UI ;)
<1> Clackwell : around ?
<15> 20 bucks to anyone who can debug some simple code for me.
<15> I've been banging my head for hours trying to learn this, and I'm not going anywhere with it.
<15> I'm sure it wouldn't take anyone here more than 5 minutes.
<16> might have helped if he actually posted the code
<16> does anyone have a decent spring mvc tutorial?
<17> hi. could someone give me some tips on what technologies should i use on developing client-server platform. i new to java, just changing from c#
<17> ?
<7> hi
<18> hey question, I have a date object... I convert this into SimpleDateFormat. The problem is, is that it displays in EST. I need it to be in GMT
<18> Im ***uming theres an easy convertion, any Ideas?
<8> String test = "abc"; and then Static String test1 = test; I am doing something like this but this gives error
<18> server|clien: there doesnt seam to be any one here. I asked a question a bit ago and no responce lol
<18> keep trying in teh otehr java room ;)
<19> hi
<19> any1 there?
<20> /names
<21> :}
<20> server|clien, it's static, not Static
<20> and how are you ***igning it?
<20> it needs to be cl***name.staticvar = ...
<20> if it's not in that cl***, anyway
<19> hello
<19> is this the java room
<19> ?
<20> yes, but any coffee will do
<19> lol
<19> ok
<19> so what goes on in this room
<19> y is there one person in here
<20> I guess he got lost :/
<1> re
<22> hi all
<22> heres a q: when would I use jdbc through session beans over entity beans?
<22> anyone here? this chatroom is rather quiet, something good on tv?
<23> hi all
<22> guy anyone know the answer to my q?
<1> well
<1> session are stateless ?


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#skype
wyldroze
#php
prepQuery
#london
postfix-dbm package
dj nheaven
Undefined symbol _zend_list_delete
nohup background already running
PHP Parse error: parse error, unexpected T_VARIABLE, expecting T_FUNCTION



Home  |  disclaimer  |  contact  |  submit quotes