Solved

Applet Problem?

Posted on 2002-03-14
4
204 Views
Last Modified: 2010-03-31
Hi All,
I have an applet that when pressing on a button in it i call another applet using:
myApplet.getAppletContext().showDocument(URL url, String target) method.
The problem is when i open the second applet in a new window and try to maximize this window all the components inside it apprear not in the correct locations as supposed to be, so i need to refresh to get to the correct dispplay!
How can i call this applet using the showDocument method in a new window that already maximized?
Any comment will be very helpful..
thanx in advance..
samjav
0
Comment
Question by:samjav
4 Comments
 
LVL 9

Accepted Solution

by:
Venci75 earned 100 total points
ID: 6863888
try using the:
myApplet.getAppletContext().showDocument(javascript:open('your applet URL','name','params'), "");

check the possible values of the 'params'. I thing this could help you :)
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 6863921
> all the components inside it apprear not in the correct locations as supposed to be

fix your applet code :)
0
 

Expert Comment

by:sunilvirus
ID: 6865024
how about fixing the layouts?
and adding to these layouts the desired components.
0
 

Expert Comment

by:PhilAllen
ID: 6868704
sounds like you have not packed the components of your 2nd applet, agree with heyhey check 2nd applet code
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 96
what is a "java.lang.System Property"   ? 20 67
Apps blocked by Java 9 79
null output 3 25
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question