Applet « Layout « Java Swing Q&A





1. JPanel layout in applet    stackoverflow.com

I have a JPanel that is not part of a JFrame. For various reasons I have to call the panel's paint method through my own "update" method. This is my code:

public void ...

2. Applet not appearing full    stackoverflow.com

I just created an applet

public class HomeApplet extends JApplet {

    private static final long serialVersionUID = -7650916407386219367L;

    //Called when this applet is loaded into ...

3. getting applet's position in the screen    coderanch.com

Is there a way to get an applet's X,Y coordinates relative to the monitor pixels if this applet is running within a webpage? I can get X,Y coordinates from different components, but the applet itself is in a browser so I have to deal with the browser's toolbar plus any html modifications in the containing webpage. I'm trying to get this ...

4. Border Layout in Applet Issues    coderanch.com

I am a new programmer and doing an assignment for my Java class. I think I am using the right layout, but the components aren't showing up right. They show up in a line all across the top of the applet. I am using the BorderLayout. Please let me know what I am doing wrong. Thank you! import javax.swing.*; import java.awt.*; ...

5. GridLayout - Layout of Applet Help    java-forums.org

Hi everyone I am in a bit of a time crunch and unsure what i am doing wrong with my applet/html page which calls it. Its a fairly simple applet with a few textboxes, checkboxes and one calculation. But when i load it, the format is all over the page, its not organized at all, i am lost. I have been ...