Jump to content

Crashing with a java applet open


Rad
 Share

Recommended Posts

So I found that IE object window sample and was messing around trying to make a browser, so I tested some of those free java games to see if it was as smooth as normal. It was, but if you tab out or change windows or anything else... the window freezes. You cant get back...

Im not really sure what to do about this... Using the $oIE = ObjCreate("Shell.Explorer.2") for the internet I forgot what the sample was called though...

Is there any way to fix it?

Link to comment
Share on other sites

I found the example, its GUICtrlCreateObj, just paste "Shell.Explorer.2" into the search for beta and its the only one that comes up (Turn "titles only" off)

It does the same thing

Just find a java game, theres alot... www.jagex.com I tried it on the flea circus or whatever, its same for runescape and all the others too

Edited by Rad
Link to comment
Share on other sites

I found the example, its GUICtrlCreateObj, just paste "Shell.Explorer.2" into the search for beta and its the only one that comes up (Turn "titles only" off)

It does the same thing

Just find a java game, theres alot... www.jagex.com I tried it on the flea circus or whatever, its same for runescape and all the others too

If it's important enough to you to ask the question and you expect to get an answer, it should be important enough for you to make it easy for those you expect to help you. You're not doing very well so far.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

Ok i guess try this...

Just click on one of the games (not runescape, you need an account n stuff) then change windows, or minimize it. Make sure your running with SciTE beta so you can CTRL+Break to force it shut, because if it does the same as mine, it freezes. Only when an applet is loaded, though

Doing a quick search under _IEPropertyGet there is "javaenabled" Returns whether Java is enabled. But it doesnt look like that would be able to help.. and you cant disable it.

test_explorer.au3

Link to comment
Share on other sites

Ok i guess try this...

Just click on one of the games (not runescape, you need an account n stuff) then change windows, or minimize it. Make sure your running with SciTE beta so you can CTRL+Break to force it shut, because if it does the same as mine, it freezes. Only when an applet is loaded, though

Doing a quick search under _IEPropertyGet there is "javaenabled" Returns whether Java is enabled. But it doesnt look like that would be able to help.. and you cant disable it.

Tried Flea Circus per your instructions. No problem here.

Suggest you insure you are running a recent version of Sun JRE... here's my version:

Java Plug-in 1.5.0_06

Using JRE version 1.5.0_06 Java HotSpot Client VM

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

Any clues on how to find what version you have? Or the download links? My add/remove program only has J2SE 5.0 Update 3 and J2SE 5.0 Update 5 (Not sure why there is 2...

But, they work fine in firefox and IE 7.

Link to comment
Share on other sites

I clicked "Tools, Sun Java Console"

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

Java Plug-in 1.5.0_08

Using JRE version 1.5.0_08 Java HotSpot Client VM

ARG! this is lame... u sure you got to the actualy game and changed windows? u should try it again just in case... it does it to my friend to, cept it only freezes if he alt+tabs, if I even click outside the window it freezes

Edited by Rad
Link to comment
Share on other sites

Also try giving it focus, I just noticed if you tab onto a different item and change windows it wont freeze... But still, thats a big work around

:P I have a feeling my project will be on hold for a long time

Edited by Rad
Link to comment
Share on other sites

Anyone know of a way to detect when a window has changed that would be possible to change the input focus before it changes? Its complicated... but if I take the input off any java applets then it should work

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...