@# Quotes DB     useful, funny, interesting





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



Comments:

<0> java.sun.com should have plenty of information on that. Still, its best adviced to use a mobile development kit so that you can test your application prior to deploying it.
<1> Lion-O, i am doing that. i have my application and it runs fine in the emulator
<0> Preet: then you shouldn't have to worry about META-INF and the likes.
<1> i tried to install it on my phone, and it said "choose where to place application <null>" and when i chooseapplicagtion ti said "path too long"
<1> coz i created the jar file myself
<0> the only thing you need now is a .jad file.
<1> how do i create one of those?
<0> that should be handled with the development kit. afaik it creates these for you so that you can deploy a real application into the emulator.
<1> ahhh i think ive found them
<1> its created a jar and jad itself
<1> brb testing
<1> for some reason the jar file is 0bytes
<1> gtot it
<2> someone?
<3> hi, what is this channel about?



<0> euh. Java? :P
<4> hello
<5> Greetings
<4> can't cl***es implementing an interface define a method not found in the interface?
<5> sure they can
<4> i tried
<4> but the compiler complains
<4> my cl*** is an anonymous cl***
<4> the interface has method1()
<4> the cl*** has method2() not found in the interface it is implementing
<5> disproportio: the interface defines zero or more methods that you -have- to implement on the implementing cl***, but dont' forbidd implementations of other methods, as long as their signatures dont' conflict
<5> so, in your case, you are free to have method2(), but you need to define method1() as well
<4> then when i have toy.method2() (where toy is an instance of the inner cl***) ... the compiler complains that it cannot find method2() in the interface
<5> disproportio: ah. that is because you are trying to refer to the implementing cl*** by it's interface
<4> inner cl*** (anonymous cl***)
<4> ah
<5> disproportio: and since the interface doens't define method2() the compiler doesn't know about it.
<4> yes that's the answer
<4> thanks
<4> i was upcasting
<4> ok
<6> morning
<5> disproportio: also, I tend to avoid anonymous cl***es whenever possible, unless they are trivial
<5> disproportio: they just confuse me when debugging
<4> the object was an instance of the interface not of the anonymous cl***. i was stating wrongly the situation
<4> yes wlfshmn
<6> I like anonymous cl***es
<4> it is confusing indeed
<6> they never bother you with introductions and stuff
<6> "Hi, my name is..."
<4> lol
<4> one cannot have an instance of an anonymous cl*** i think
<4> there is no constructor of an anonymous cl***
<5> jottinger: precisly why I find it hard to use while debugging. Me and the debugger have to resort to vague descriptions to determine if we are thinking of the same cl***, ie, it's a child of cl*** X, or it has a field named Y
<6> wlfshmn: I just don't bother writing bugs
<6> much easier
<5> jottinger: I unfortunatley, am more flawed than you ;)
<6> it's okay, I'll let you live
<5> jottinger: I wasn't aware that that was your perogative
<6> comes with perfection
<6> little-known fact since you mortals tend to resent it
<5> apparently humility wasn't part of the package ;)
<6> nah, humility only gets in the way
<7> woo
<7> It's a separate download, squirreled away on their website, marked as "Compiling reports to .exe files is inherently broken. Don't do it. Here's the download" (or words to that effect)
<5> hmm. they snuck out a 1.5.0_08
<6> yeah, with great fanfare a few weeks ago
<5> fanfare?
<6> yeah
<6> as in "WE HAVE ANNOUNCED 1.5.0_08!!!"
<8> wowz0rs
<5> hm.. I must have managed to miss it.. oh well
<8> D-link gear has advanced recently... http://www.amazon.co.uk/gp/product/B00008YBCJ/026-5419338-9089235?v=glance&n=560798&s=electronics&v=glance
<5> I'll still not buy D-link. too many bad experiences
<9> when using SSLEngine, when does the enclosing SSLEngineResult change? After calling wrap or unwrap or both? In particular, I am interested when does the handshake status change. Thank you.
<10> hi
<10> anybody home ??
<10> hi
<10> hello



<10> good day
<6> hi
<10> good day
<10> i have a question
<10> can i ask ?
<7> acme_: Have a read of the topic and decide
<10> there is no topic
<6> don't ask to ask
<6> please
<10> what do you mean ?
<6> don't say "may I ask a question?" Just ask the question.
<10> ok, thank you !
<10> i am typing !
<10> how long could it take for good programmer to write compiler from .java file to .cl*** file ?
<10> thenk you
<6> longer than that
<11> hi.
<12> ho
<11> at my previous college, we learned c++, but here at Florida, they primarily use java, would you recommend i try to learn/cram java before i take a data structures and algorithms course taught in java or just take their intro java courses?
<12> most of the difficulty in learning a language is learning general programming concepts
<12> if you feel you're comfortable, you can probably get by with cramming
<13> hey!!
<13> w***up ppl ?? :)
<13> one question...
<13> can I have a public cl*** and a public enum in the same source file ??
<14> I'd say no. You can't have two public things at the top level.
<14> But... you could always do a 5 line test file and find out.
<13> hmm...
<15> You could encapsulate the enum in the cl***, but I think that's about the only way it will work.
<14> Wouldn't be public then.
<15> Sure it would, you'd just have to access it through the cl*** instead of directly.
<16> Anyone here reckognize the problem that Robot.createScreenCapture() returns a black-image?
<14> He wasn't asking about statics though.
<16> anyone? :)
<17> offffff with olmert's head
<17> now
<0> somerandomgu: heavily depends on what kind of screenshot you tried to make or what Rectangle you used.
<0> somerandomgu: even the environment can have some influence in all this.
<4> anyone using the gnu java compiler?
<0> yes.
<0> and the sooner that project is dumped in the waste basket the better it is.
<0> IMO ofcourse.
<16> Lion-O: it works if i start the application myself, but doesnt if someone else starts it
<0> somerandomgu: thats a little vague ;) How does the other person start it?
<4> lol
<16> ITs Apache
<0> somerandomgu: you mean you created an applet?
<16> http://localhost.weirdbyte.com/demo.haveaniceday
<4> well my old laptop has gcj on it
<4> but no javac
<16> No, Apache has started a J2SE-application and prints out the "output". However, if apache does this, its black. If i do "java -jar blabla" the screen is normal.
<0> somerandomgu: a mere yes or no can do. Anyway, if that is the case then I'm pretty sure that you're running into security limitations. Applets can't just do anything on the client PC's without proper authorisation.
<16> its still not an applet :)
<0> somerandomgu: apache doesn't start J2SE's, tomcat on the other hand...
<16> Lion-O: Ive hooked my apache to start j2se apps
<5> applets built with gcj?
<4> gcj seems a little bit more complicated than javac and gcj manual ****s :/
<0> Apache = Webserver, Tomcat = Application server from apache.org. Use the right terms, it becomes awfully confusing otherwise.
<16> Lion-O: please understand.
<16> Lion-O: its not an applet, its a standard edition application, which gets started by Apache the webserver.
<0> somerandomgu: and how did you do that?
<15> somerandomgu: In order to run Java apps from Apache, you *have* to have some kind of application server running.
<16> Resonator: yea, The apache is running :)
<0> somerandomgu: OR are you talking about Java webstart.
<16> Lion-O: does that matter?
<0> somerandomgu: yes it does.
<15> somerandomgu: Apache is NOT an application server.
<0> Because what you're claiming (j2se on Apache) is totally impossible.
<16> Lion-O: No, no. Apache is just starting my stuff
<5> well you -could- run a java program as a CGI, if you were insane..
<15> somerandomgu: you must have some kind of module of some sort that is taking the request from Apache and running it.
<0> wlfshmn: oh dear g... I don't think I want to know where this is heading...


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#AllNiteCafe
#linux
virtualhost deny ip
THE SERVICES RESOLVED THE BALCOMBE STREET SIEGE
#php
dreamwalker efnet
#mysql
chocolatz
#php
#linux



Home  |  disclaimer  |  contact  |  submit quotes