@# Quotes DB     useful, funny, interesting





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



Comments:

<0> but as I said before, I am not far along enough to actually run hibernate -code-, and as such, the little code I have usign hibernate is in sorry disrepair. All I can tella botu it currently is that it compiles ;)
<0> th is a large excuse for me to play with tools I don't get to use at work
<1> I wont use tools
<1> until you need them
<1> getCurrentSession() is related in using hibernate from an application server, or something like this
<1> it works with JTA if I read correctly
<1> I<m not really aware of this
<0> I am runnig within a servlet container currently
<1> ok so it may be th4e right way to proceed
<1> i dont like containers
<1> nor I like application servers
<1> heeh
<0> well, I'm off for a while, catching the bus home. I'll be back in a bit though.
<0> kinematix: thanks for all your ***istance. ;)
<1> no prolblemn
<2> hey calchas



<3> hi
<2> Hey Clackwell :-)
<4> Hi, I don't suppose anyone knows what call is made when the JVM allocates an object. I'm trying to find the time spent by the JVM searching the heap to allocate an object. I'm using HProf get a trace of all calls made ant the time spent doing this.
<5> hallo thunder, everyone
<5> picky_: possibly related: http://www.google.com/search?complete=1&hl=en&q=memory+allocation+jvm+faster+than+c%2B%2B&btnG=Google+Search
<4> Clackwell: thanks for the url.
<5> you are welcome
<6> hey anyone know where I can find a text to speech java applet
<6> that works
<5> not i
<7> nooooooooooooooooooooob
<8> hello
<9> that's somewhat ephemeral
<10> what are some common reasons why i'd get a cl***castexception er?
<11> you tried to cast something to a type that doesn't make sense
<10> i have extends applet
<10> this is the errror cn28h
<10> java.lang.Cl***CastException: chatapplet
<10> at sun.applet.AppletPanel.createApplet(Unknown Source)
<10> at sun.plugin.AppletViewer.createApplet(Unknown Source)
<10> at sun.applet.AppletPanel.runLoader(Unknown Source)
<11> dunno what that means exactly
<10> ? :(
<10> me neither
<10> it wont load the applet though
<11> but Cl***CastException happens when you cast a reference to a cl*** to another type that is not compatible
<10> yeah I know
<10> but what reference could that be
<11> dunno, sorry
<10> some error
<10> unknown source
<10> woop de do
<10> its ok to make jframes in applets right?
<10> all i can think of is jframe is somehow improperly used
<10> runs fine as an application
<10> jframe..no init im gay it says
<10> "at sun.applet.AppletPanel.createApplet(Im gay)
<10> "at sun.applet.AppletPanel.createApplet(Im gay, sorry error)
<11> I've never written an applet, sorry
<10> i have I've just forgotten
<10> i usually write applications
<11> it's ok if you're gay
<10> i could send u the source
<10> lol i got hit on by some gay guy tonight
<11> is that a good thing or bad?
<11> ah, but you just said you were gay ;P
<11> you didn't like this one?
<10> its bad ehhe
<11> lol
<11> today is my day to wrestle with Sun hardware instead of Sun software :|
<10> cool
<11> sort of
<11> but I can't get it to work either
<11> haha
<10> whyy ill just wait for someone experienced with applets to tell me what im doing wrong
<10> ive done applets a long time ago i swear im just casting a frame wrong or something



<10> like isnt the container the browser im confused
<10> i can paint but i cant use frames =\
<12> ricman, the trick here is to ask the question in a generic java manner without actually mentioning the word applet ;p
<12> woof woof
<10> well ive done apps but never applets is there a problem with after extending japplet and using frames?
<10> that is inherent or am i improperly using networking code somehow?? like a security issue?
<12> you see the cl***name mentioned after the Cl***CastException? thats the cl*** you -actually- got. think about why you're getting chatapplet back instead of your frame?
<10> i dont know dude please just explain
<10> all i see is something about a panel
<10> why i considered it to be something with the container or the frame
<12> without seeing your code theres no way to know what or why you've screwed up
<12> I ***ume this is your code?
<10> yeah can i send it to u
<10> ?
<10> its a free thing
<10> like i dont care
<10> its a chat applet for myspace
<10> that uses irc and regionalizes it using a simple formula for channels as the backdrop
<10> it works as an application damn thing just wont init as a applet
<10> using an irc server ;p its done just wont init pos
<10> want the source talios
<10> ?
<12> paste it to the whiteboard on http://javafaq.mine.nu
<10> damn internet..connection
<10> one sec
<10> Error:
<10> The maximum upload length has been exceeded by the client (max. 4K)
<10> its 10.1K
<10> hello?
<10> cant upload a file > 4K wtf?
<12> cut the file down to include only the relavent portion then
<10> ahh there u are o
<10> k
<10> http://javafaq.mine.nu/lookup?16&wb=true
<10> talios^
<12> so what line caused the exception?
<10> it didnt say
<10> do u see anything strange?
<10> i get castclas***ception er
<10> err cl***cast yeah hehe
<12> it should say WHERE it got the exception
<10> "Loading java applet failed" (status bar in Firefox)
<10> java.lang.Cl***CastException: chatapplet
<10> at sun.applet.AppletPanel.createApplet(Unknown Source)
<10> at sun.plugin.AppletViewer.createApplet(Unknown Source)
<10> at sun.applet.AppletPanel.runLoader(Unknown Source)
<10> at sun.applet.AppletPanel.run(Unknown Source)
<10> at java.lang.Thread.run(Unknown Source)
<10> ^ console text
<12> hmm
<10> ?!?!?!
<12> mmm no idea then - thats triggering outside of the code
<12> and i've never done applets
<10> i have latest JRE
<10> i can run like yahoo games etc
<10> it works
<10> its something with the frame
<10> im telling u
<10> different context but ive seen same context used **** me
<12> mmm, the frame - yes yes, you might be right.
<12> you're showing a frame? mmmm, isn't the applet itself a frame?
<10> yeah thats what i think but ive seen examples where the applet has its own frame
<10> outside of the browser
<7> ricman: you need more reading
<10> but ive done them, years ago like 97
<12> 'lo javaq_


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#linux
#linux
#javascript
#mirc
#linuxhelp
ernesto bastian -buy -sale -torrent mp3
#linux
lofl
#c++
12WHAT KIND OF ANIMAL IS BABAR?



Home  |  disclaimer  |  contact  |  submit quotes