102 Topics

Member Avatar for
Member Avatar for bruizer

import javax.swing.*; import java.awt.*; import java.text.*; import java.awt.event.*; public class SchoolApplet8 extends JApplet implements ActionListener { double userAmount; double userInterest; double userTerm; int month = 0; double remainBalance = 0; double interestPayment = 0; double principalPaid = 0; JPanel row1; JLabel lblAmount; JTextField txtAmount; JLabel lblInterest; JTextField txtInterest; JLabel lblTerm; …

Member Avatar for NormR1
0
261
Member Avatar for trishtren

Hello, iv looked around google and have found it is possible to put an applet into a jframe. The problem i am having is that my applet is to be hosted online, what i want is to take the applet that is online and display it from a swing or …

Member Avatar for NormR1
0
224
Member Avatar for Yarra

Hi i have a quick question. If i have a java application are their any third party applications that can help me run it on an html website without porting it to a JApplet.

Member Avatar for NormR1
0
259
Member Avatar for Yarra

Hi I programmed a tower defence game through java as a simple java application. I was wondering what steps do I have to take to convert it into a fully functional java applet to be uploaded onto the internet.

Member Avatar for Justinvzepeda
0
287
Member Avatar for thecrazy

**Bold Text Here**hi, i need some help. i ave written the code for different forms of an applet in swings, but i am not able to open another form by clicking a button in on form. for eg when i click the registration button it should open the registration form. …

Member Avatar for karyal
0
96
Member Avatar for broodwich

I have to make an applet that gives you 2 single digit integers and you have to multiply and then it will tell you if you are correct. I got it to work but how do I make it continue the same set of numbers until you provide the correct …

Member Avatar for stultuske
0
153
Member Avatar for broodwich

I have the following problem: Write a Java Applet that will help an elementary school student learn multiplication. Use either Random class or Math.random() method to produce two positive one-digit integers. The applet should prompt the user with a question. The student then enters an answer. If the answer is …

Member Avatar for broodwich
0
271
Member Avatar for aspundir

I want all three applets conaitning this site http://www.planetarypositions.com/ can anybody help me?

0
92
Member Avatar for sonicx2218

I made a creature composed of shapes in a Java Applet. I want to basically copy and paste the creature I made so I have say 7-8 copies on the same applet. but in different locations. Is there an easy way besides copying the entire code, and moving each coordinate …

Member Avatar for sonicx2218
0
275
Member Avatar for zuzzles

So i came across this issue that I can run my applet fine and it creates my file (exe) until i attempt to do so in a browser (firefox, IE, etc). Its signed and asks for permission and gives no erros but it doesnt write to the file I want …

Member Avatar for JamesCherrill
0
309
Member Avatar for DavidKroukamp

Hey all, I have been wanting to make a cool game in jave such as a fighting game starting off simple with drwing stick figures :). But i was wondering why there are so many java games created in Japplet why not use swing- i know there are games out …

Member Avatar for DavidKroukamp
0
189
Member Avatar for helpsie

To make it short and sweet, here it is. Looking to do a simple screenshot on the client-side (and if anyone would be so kind, point me in the direction to create an automated upload of the screen to a server. ++ if you can provide a tip on doing …

Member Avatar for helpsie
0
886
Member Avatar for raviaaaa

Hi All can you pleased help me how to resolve applet load fail in IT link applet loading fine, but when i used same code and made a local setup while runnning applet is not loading please see the stack trace and com.scand.jtree classes are exists under applet folder under …

Member Avatar for NormR1
0
311
Member Avatar for aanders5

Okay, I am going to go through ALL my steps thus far just so that this process can be sped up hopefully. I have done this before, but it was awhile back and I forgot how, but I know it is possible. 1. I made a Neatbeans created Java Application. …

Member Avatar for NormR1
0
555
Member Avatar for miramiey

Hello, I am creating simple an applet to draw a registration form based on the selected item within the awt choice object. I have include a radio button, choice list and button. My problem is when running the Applet...the choice list is blinking and when I maximized or minimise frame …

Member Avatar for JamesCherrill
0
211
Member Avatar for dineshswamy

dont know the why this modified JTextField did not show up..help me out [CODE] import java.awt.*; import javax.swing.*; public class JBgtextfield extends JTextArea{ public void paint(Graphics g) { setOpaque(false); ImageIcon ic=new ImageIcon("image1.png"); Image i=ic.getImage(); g.drawImage(i,0,0,this); super.paint(g); } } [/CODE] i then created an instance of this class and added it …

Member Avatar for JamesCherrill
0
161
Member Avatar for keval_hack

I want one TextField on Applet and user enters URL in that TextField and then displays the document of the URL string in a new browser window.

Member Avatar for NormR1
0
83
Member Avatar for Bahirji Naik

This may be old error but I stuck here.. I created java database applet for oracle database. I am going to put this applet in Local Network. My applet works fine in Eclipse and Netbeans but when I run through 'appletviewer' it showing an error : [ICODE]Error e java.security.AccessControlException: access …

0
71
Member Avatar for mbrcarnation

Hi everyone, I'm working on a project for my computer science class and we're supposed to make a java applet game. I'm not very far in the game quite yet, but I'm trying to make sure that the mouseListener and the rectangles work before I continue on with the game. …

Member Avatar for emmas4impact
0
226
Member Avatar for bradyramone
Member Avatar for stevanity
0
112
Member Avatar for MasterOfNothing

We have a problem similar to [URL="http://forums.techguy.org/all-other-software/947576-solved-java-applets-only-working.html"]this[/URL] Clean boot doesn't help and the unchecking of services doesn't help ether. We have a Java applet that's working correctly on xp but isn't working correctly on win 7. The applet runs and the browser asks you to accept the certifiket but the …

Member Avatar for MasterOfNothing
0
317
Member Avatar for kalodakilla

Hi all, i'm pretty new to java applets and been struggling to embed it into a webpage. I made a java applet using eclipse, and ran it using eclipse's applet viewer just fine. However i cannot embed it into my webpage. I placed the jar file i exported from the …

Member Avatar for NormR1
0
291
Member Avatar for masterofpuppets

Hi all, Here's the problem I have. I am designing a website in HTML and I want to include a chat system using a Java applet. I have written a small example applet that just connects to my server and gets the users that are currently online. The applet works …

Member Avatar for masterofpuppets
0
284
Member Avatar for vishalbhavsar

Hi all, i am writing a program which displays the data from the file on the applet. but i m not able to do it. I think we cannot access files through applet due to security reasons. is there any alternative to do this?

Member Avatar for JamesCherrill
0
115
Member Avatar for JPramod

Hi, I am running Ubuntu in my machine and I tried this code: [CODE] import java.io.InputStream; import java.io.IOException; import java.applet.Applet; import java.awt.*; public class execute extends Applet{ String output=""; public void init(){ try { // Execute command String command = "ls"; Process child = Runtime.getRuntime().exec(command); // Get the input stream …

Member Avatar for mKorbel
0
739
Member Avatar for ea25

Hi all, my first post here :) I'm new to java so please bare with me. I'm writing a very simple applet to get my skills going in Java. Practically my applet fetches an image from an external URL (using java.net.URL) and paints it in my applet. So far so …

0
85
Member Avatar for sirlink99

I have two graphics methods in my program. One for the menu and one for the game. I have previously written all of my code in one graphics with a bunch of nested ifs. Now I am trying to separate the two. Is there a way to call the gameGraphics …

Member Avatar for sirlink99
0
452
Member Avatar for chipsch

I am having a problem with the below applet. It compiles just fine and when it is ran it shows up with the multiplication problem at the bottom of the applet as expected. The problem is that it says if the answer is correct or not before an answer is …

Member Avatar for JamesCherrill
0
383
Member Avatar for kingofdrew

I don't know why but nothing is appearing? I suppose to have a applet of a house. [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.*; import java.applet.Applet; import java.awt.Graphics; public class color extends JApplet { public void init() { addMouseListener(new MyMouseListener()); getContentPane().setBackground(Color.white); } public class MyMouseListener implements MouseListener …

Member Avatar for JamesCherrill
0
182
Member Avatar for kingofdrew

My homework is Write an applet that draw the house shown on the left in Figure 14-32. When the user clicks on the door or windows, they should close. The figure on the right shows the house with its door and windows closed. I basic want a java applet that …

Member Avatar for kingofdrew
0
182

The End.