Click here to Skip to main content
15,898,134 members
Home / Discussions / Java
   

Java

 
GeneralRe: Java Applet not drawing to screen Pin
Liam S. Crouch20-Aug-11 7:44
Liam S. Crouch20-Aug-11 7:44 
GeneralRe: Java Applet not drawing to screen Pin
Richard MacCutchan20-Aug-11 23:28
mveRichard MacCutchan20-Aug-11 23:28 
GeneralRe: Java Applet not drawing to screen Pin
Richard MacCutchan21-Aug-11 8:18
mveRichard MacCutchan21-Aug-11 8:18 
QuestionHow to save the state of applet after changes on webpage? Pin
CodeGust17-Aug-11 15:35
CodeGust17-Aug-11 15:35 
AnswerRe: How to save the state of applet after changes on webpage? Pin
Peter_in_278017-Aug-11 15:49
professionalPeter_in_278017-Aug-11 15:49 
QuestionJava webserver : how to serve applets Pin
Roysten181817-Aug-11 11:43
Roysten181817-Aug-11 11:43 
AnswerRe: Java webserver : how to serve applets [modified] Pin
Peter_in_278017-Aug-11 13:36
professionalPeter_in_278017-Aug-11 13:36 
GeneralRe: Java webserver : how to serve applets Pin
Roysten181818-Aug-11 13:56
Roysten181818-Aug-11 13:56 
Well, the class extends an applet, but could you check it for me ? its pretty short.

Java
import java.applet.*;
import java.awt.*;

public class Testapp extends Applet {

	public String hdr = "abcd";

	public void init() {
		super.init();
	}

	public void paint(Graphics g) {
		super.paint(g);
		g.drawString(hdr, 5, 15);
	}

}


Could it be that i have to make a Main and then create a new object? would be silly if u ask me Wink | ;)
GeneralRe: Java webserver : how to serve applets Pin
Peter_in_278018-Aug-11 14:26
professionalPeter_in_278018-Aug-11 14:26 
AnswerRe: Java webserver : how to serve applets Pin
jschell18-Aug-11 12:48
jschell18-Aug-11 12:48 
GeneralRe: Java webserver : how to serve applets Pin
Roysten181818-Aug-11 13:58
Roysten181818-Aug-11 13:58 
Questioncreating a class with coding_?. Pin
quartaela11-Aug-11 5:14
quartaela11-Aug-11 5:14 
AnswerRe: creating a class with coding_?. Pin
Richard MacCutchan11-Aug-11 5:59
mveRichard MacCutchan11-Aug-11 5:59 
GeneralRe: creating a class with coding_?. Pin
quartaela11-Aug-11 6:07
quartaela11-Aug-11 6:07 
AnswerRe: creating a class with coding_?. Pin
jschell11-Aug-11 13:13
jschell11-Aug-11 13:13 
GeneralRe: creating a class with coding_?. Pin
quartaela12-Aug-11 12:43
quartaela12-Aug-11 12:43 
GeneralRe: creating a class with coding_?. Pin
quartaela12-Aug-11 12:44
quartaela12-Aug-11 12:44 
AnswerRe: creating a class with coding_?. Pin
David Skelly11-Aug-11 22:17
David Skelly11-Aug-11 22:17 
GeneralRe: creating a class with coding_?. Pin
quartaela13-Aug-11 3:32
quartaela13-Aug-11 3:32 
QuestionJfreechart with jsp and servlet giving error Pin
cmaheshwari1611-Aug-11 0:13
cmaheshwari1611-Aug-11 0:13 
AnswerRe: Jfreechart with jsp and servlet giving error Pin
Gerben Jongerius11-Aug-11 20:22
Gerben Jongerius11-Aug-11 20:22 
GeneralRe: Jfreechart with jsp and servlet giving error Pin
cmaheshwari1611-Aug-11 23:03
cmaheshwari1611-Aug-11 23:03 
QuestionJAAS Question Pin
AndreFratelli10-Aug-11 9:12
AndreFratelli10-Aug-11 9:12 
QuestionExecute commands in putty prompt through java Pin
kartikdasani10-Aug-11 4:13
kartikdasani10-Aug-11 4:13 
AnswerRe: Execute commands in putty prompt through java Pin
Nagy Vilmos10-Aug-11 5:25
professionalNagy Vilmos10-Aug-11 5:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.