Questions tagged [japplet]

JApplet is a class from Swing library in the Java programming language. Applets can be embedded in webpages and run client-side if a JVM is provided.

JApplet is a class from Swing library in the Java programming language. It's a successor to AWT's Applet class. Applets can be embedded in webpages and run client-side if a JVM is provided.

The use of applets is usually discouraged and has not been widely adopted. The implementation of applet-based applications is a common academic exercise seen as an easy way to become familiar with Java UI libraries.

JApplet Javadoc

733 questions
-1
votes
1 answer

JTable not rendering JCheckBox or JComboBox in the table in Java Applet

Im having trouble getting my JTable that im using to display either check boxes or combo boxes in my applet. Here is the code that is not working correctly String[] options = {"download", "ignore"}; Object[] obj = {new JComboBox(options),…
Matthew Pigram
  • 1,400
  • 3
  • 25
  • 65
-1
votes
1 answer

How can an applet Read/Write files on the local file-system?

In Java JApplet, file read and write operations did not work in webrowser. When I click "Ok" button, it should be write some file in our local path. But it shows below error. How to resolve this error? java.security.AccessControlException: access…
Rishi
  • 95
  • 2
  • 9
-2
votes
1 answer

Browser doesn't show full JApplet

This what shows up in Eclipse when testing: And this is what show up in Firefox/Chrome browser, when I launch it as applet: HTML code: In java, everything…
Paulius Vindzigelskis
  • 2,121
  • 6
  • 29
  • 41
-2
votes
1 answer

JApplet will not initialize when Listener is added to jcheckBox

Alright, since it didn't work out last time. I'm going to post my full code here and i hope i can get some replies as to why it's not working. I'm not getting any compiling errors, the applet runs and then nothing shows up and at the bottom it says…
Stan Harris
  • 15
  • 1
  • 4
-2
votes
2 answers

Start: Applet Not Initialized error

I don't get any compiler errors but when I try to open the applet it gives me the Start: Applet Not Initialized error. Can someone tell me what is wrong with my code or give me some pointers? This is the what I get in the compiler, if it…
odeng
  • 49
  • 1
  • 9
-2
votes
2 answers

I have unsuccessfully tried to use images with JApplet for TWO days. What have they done to Java? Where am I going wrong?

EDIT: To those idiots who negged this question merely over the title, the button is clearly meant to be pressed if the question is out of the blue, without any effort put into it at all. I have researched and I have asked, and I have tried. All I am…
-2
votes
1 answer

How can I make a search box in Java

I'm making a program in Java which users can login and upload data to certain people in the program. But, I want to make a search bar so someone can type 'Joe' and it would show anyone with the name 'Joe' in a file. Each name that is registered will…
StackOverload
  • 19
  • 1
  • 1
  • 7
-2
votes
1 answer

JApplet creates a ball that bounces and gets progressively less high in Java

public class Circle extends JApplet { public void paint(Graphics g) { int x=100; int y=100; int diameter=50; int xResize=500; int yResize=500; super.paint(g); …
-2
votes
1 answer

JApplet Integration

i have one JApplet. I want to integrate with my swing application(just want to add this applet to existing JPanel of my application). JApplet is component and can be added but how to do this? Can you please elaborate with some example?
-2
votes
1 answer

Thread help. Paint

Can someone please help me with the comment lines except the ones where it asks to delete things. Thank you! public class ex1011c extends JApplet implements ActionListener { // get rid of all winkbutton code JButton winkbutton = new…
-2
votes
1 answer

JDBC Connection: Access Denied for User even All Previlleges are Granted

I have an JApplet that connects to the database via this code: String url = "jdbc:mysql://localhost:3306/moodlele_survey"; String user = "moodlele_garanti"; String password = "garanti"; try { panel.add( new JLabel("before…
-2
votes
2 answers

Run desktop game on web

I have made games in jar format using processing.org, Netbeans and Eclipse! These are desktop based games I want to run these games on online servers (web) without altering the code. This game also have embedded sounds and graphics in its folder.…
Zaidi
  • 38
  • 2
-2
votes
4 answers

Java applet issue with painting

In my java applet I have an image following the cursor around the content pane. I also set a background image. When I move the cursor I am able to see the cursor image but the background flickers rather badly however when I stop moving the cursor…
user2488275
  • 87
  • 1
  • 12
-2
votes
2 answers

Why is there a file permission error?

I am getting a file permmission error when I use my Java applet on my website. The error is: access denied ("java.io.FilePermision""image.png""read")
Ajay
  • 437
  • 7
  • 22
-2
votes
1 answer

How do i make this jApplet working?

How do i make this code to run as an jApplet ? My Applet looks like this now: public class TickTackToeApplet extends JApplet implements ActionListener { private static final long serialVersionUID = 1L; private ArrayList buttons =…
Henrik
  • 1,797
  • 4
  • 22
  • 46
1 2 3
48
49