Search:

Type: Posts; User: javapenguin

Search: Search took 0.09 seconds.

  1. Re: Applet isn't showing up. Perhaps it's a browser fault.

    How do you word CardLayout? As I said, I tried it once and it wouldn't work. I'm going to try it again.
  2. Re: Applet isn't showing up. Perhaps it's a browser fault.

    Almost would work, though I'd have to add lots of extra buttons to make it go back and forth. Also, I can't figure out how to work Card Layout. I tried it once and it kept throwing some weird...
  3. Re: Applet isn't showing up. Perhaps it's a browser fault.

    What happens if a JApplet calls a JFrame?

    Will it open the JFrame?
  4. Re: Applet isn't showing up. Perhaps it's a browser fault.

    I know that applet is extended from Panel. However, it had me confused when I went to test it on my IDE and it showed a window like thing in the test part.

    I'd never managed to get it in a...
  5. Re: Applet isn't showing up. Perhaps it's a browser fault.

    How would I handle that? I thought that a mere object reference would do it.
  6. Re: Applet isn't showing up. Perhaps it's a browser fault.

    A new applet to pop up or a new window to come. That's what I had been hoping for.
  7. Re: Applet isn't showing up. Perhaps it's a browser fault.

    So, I can't have a JApplet call other JApplets with an ActionListener of a JButton.
  8. Re: Applet isn't showing up. Perhaps it's a browser fault.

    Ok, now I'm getting an enumeration of applets. But what do I do with it?

    How do I call another applet. I thought merely using an object would do it.
  9. Re: Applet isn't showing up. Perhaps it's a browser fault.

    AppletContext is an interface. I decided to Google it. However, it appears that neither Applet nor JApplet implement it.

    I'm not that familiar with Enumeration though.

    Also, another...
  10. Re: Applet isn't showing up. Perhaps it's a browser fault.

    Do you use that in the java code or the html page? How do code that exactly?
  11. Re: Applet isn't showing up. Perhaps it's a browser fault.

    Any idea how to get a JApplet to call another JApplet?

    (Like you would with a JFrame subclass having another JFrame subclass, i.e. a button in one JFrame that opens a new JFrame.)
  12. Re: Applet isn't showing up. Perhaps it's a browser fault.

    How do you get it to show the GUI form like it does with the JMenuBar it has in the IDE testing?

    All I'm getting is a sort of embedded app, not a free-standing window. Is something wrong?
  13. Re: Applet isn't showing up. Perhaps it's a browser fault.

    When I got the error message, it used to be that it couldn't find the class.

    However, now it says that the browsers all don't like the <applet> tag.

    The applet compiles. The jar won't run...
  14. Re: Applet isn't showing up. Perhaps it's a browser fault.

    <html>
    <head> <title> Hello World Applet </title> </head>
    <body>
    <applet code="HelloWorldApplet.class"
    codebase="C:/Users/Wenguin/Documents/Applet Folder 2/"
    ...
  15. Applet isn't showing up. Perhaps it's a browser fault.

    My applet isn't showing up. I finally got it to say that my browser is ignoring the applet tag, which I'm guessing was the error message if it couldn't display it, based on that code sample I found....
Results 1 to 15 of 15