How do you word CardLayout? As I said, I tried it once and it wouldn't work. I'm going to try it again.
Type: Posts; User: javapenguin
How do you word CardLayout? As I said, I tried it once and it wouldn't work. I'm going to try it again.
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...
What happens if a JApplet calls a JFrame?
Will it open the JFrame?
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...
How would I handle that? I thought that a mere object reference would do it.
A new applet to pop up or a new window to come. That's what I had been hoping for.
So, I can't have a JApplet call other JApplets with an ActionListener of a JButton.
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.
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...
Do you use that in the java code or the html page? How do code that exactly?
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.)
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?
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...
<html>
<head> <title> Hello World Applet </title> </head>
<body>
<applet code="HelloWorldApplet.class"
codebase="C:/Users/Wenguin/Documents/Applet Folder 2/"
...
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....