Basically, i need an applet that enables the user to draw lines & shapes in a chosen colour. perhaps something along the lines of this: http://translate.google.com/translate?hl=en&sl=it&u=http://www.hwupgrade.it/forum/showthread.php%3Ft%3D1430167 Code (markup): this is the basis of the code: import java.awt.*; import java.awt.event.*; import java.applet.Applet; public class Sketch extends Applet implements MouseListener, ActionListener { public void init () { setSize(400, 500); setBackground(Color.white); addMouseListener(this); } public void paint (Graphics g) { } public void mouseClicked(MouseEvent e) { } public void mousePressed(MouseEvent e) {} public void mouseReleased(MouseEvent e) {} public void mouseEntered(MouseEvent e) {} public void mouseExited(MouseEvent e) {} public void actionPerformed(ActionEvent e) { } } Code (markup): I need this do be done by tonight/tomorrow morning GMT+1 & it needs to be original code i.e. not copied from elsewhere name your price £££$$$ cheers
This code is Java or Python/Jython and not Javascript. I couldn't help you anyway, but I just wanted to let you know.