English 中文(简体)
开放式第二窗口
原标题:japplet open second window
  • 时间:2010-12-09 03:33:34
  •  标签:
  • applet

is it possible to open a new window from a japplet? right now i m using getAppletContext().showDocument() to open a document, but it closes my applet. anyone know how to open a second window without interfering with the applet? Thanks.

问题回答

使用目标版本,并将“空白”作为目标:

getAppletContext().showDocument(new URL("http://www.google.com"), "_blank");




相关问题
signed java applet restrictions?

I wrote a java applet and self signed it. When I run it in eclipse or as a executable jar it works fine. But when I upload it, it doesn t do anything. It loads, and the self signed cert warning does ...

Conversion of a Java Web Start app to an Applet

I m trying to figure out how difficult it would be to convert a Java Web Start app to an applet. Theoretically, if the application didn t do anything such as write to the file system...basically if ...

Calling Applet function from RegisterStartupScript

What I m trying to do is call a Java Applet method immediately after PostBack of an ASP.NET page. In order to accomplish this I m using the ScriptManager.RegisterStartupScript function which I pass a ...

How to create a side scroller game?

I want to create a game where the user can go to the right-most part of the screen, and if they go any further, they will slide into a new view. So basically, if they have 3 monsters chasing them on ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Migrate Java Applet to what/where?

I am reviewing currently a medium size code base (around 30K LOC) which uses a huge Applet and interfaces with other systems. It s a tool to create custom labels, so we need drag-n-drop and other ...

热门标签