hello, does anyone know of a possibility to display a java applet on a swing or awt panel in a regular java application?
thanks!
hello, does anyone know of a possibility to display a java applet on a swing or awt panel in a regular java application?
thanks!
that is simple as adding a common component.
you will have to manually init the applet and then set its visibility on. 
Will the applet painting be manageable independently of the swing, uh, stuff <-- noob question
IE, if I take an applet with animation and multiple threads I developed previously and drop it into a swing app, will it still function the same?
I’m a little nervous posting here… the last time the response I got wasn’t very friendly (or helpful)…
what are you talking about, you got the answer and learned how to try to solve further problems yourself
…sigh
Don’t really think there’s any point in going into it, but since you asked:
I had already searched google, and found nothing that helped me. I had already tried calling the methods mentioned. I was just hoping there might be some other way I was unaware or unable to find.
And, since I was posting in the “newbie” forum I had some expectation of openness / friendliness to basic questions. My apologies, I will take my newbie questions to some other newbie forum from now on!
it’s unfriendly to cough? must be a cultural difference. the coughing was about not understanding why the question was asked and implicitly asking if we might have misinterpered.
mind that must of us will be between 100km-20000km away, and thus won’t be able to see whats happing on your screen. thus you have to tell us. and check that we understand you the way we should. (try looking up cognitive )
you shouldn’t called the methods, you should override them and implement them to handle your case. those methods are points of entry/signal which you can use to do stuff at a certain time. To us this seems so trivial that we didn’t consider that you would interper or assume as you assumed.
if the responses on this forum don’t make your problem go away, post again. describe how you used the information profided and how it didn’t yield the expected/wanted results. be discriptive; remember that java is also based on principle that verbose isn’t a bad thing(there is reuse and ctrl+space)
mind you we all started out at some point. Don’t fear mistakes we’ve made them to and we’ve seen some and seen those of others, it won’t likely provoke any emotion from most of us. As long as you’ll listen we’ll listen.
as for your actual question here:
It off course depence on how you call the applet (which thread), and keep in mind that there is only one awt system per jvm(unless you hack I gues). I know this answer doesn’t help you much but I somehow doubt writing a couple of pages here will help you either. so lets bring it back to the core: what do you expect to be happing, what are you afraid off or how is it not working now and how should it work. etc.
Well,
Regarding the coughing it was pretty obviously meant to be belittling, which seems out of place answering an admitted newbie in a newbie forum. I’m going to just move on and go away, though.
Thanks for your response Mr Light. It was friendly and helpfull. I don’t think this is the place for me, however. You won’t see me again.
strange character this one… hope he founds “appropriate” forum