Can anyone help me please? How do I convert these codes to launch from a JFrame instead of a Java Applet?
A simple program where the user can sketch curves and shapes in a
variety of colors on a variety of background colors. The user selects
a drawing color form a pop-up menu at the top of the
applet. If the user clicks "Set Background", the background
color is...
User Profile
Collapse
-
Converting Java Applet to JFrame
-
Serialization, BufferedImage and Whiteboard
I have a whiteboard I'm working on at the moment but I have no idea how i should transport the user's input on the canvas to the recipient. Someone suggested using BufferedImage.
Can anyone please explain to me what Serialization and BufferedImage are, what they do, and how they work?? And how I should implement them in a whiteboard?? -
Problem with typing on JPanel
Hi, Im having a problem with typing on the JPanel. The thing is, that it works perfectly fine when this line " content.add(jp, BorderLayout.NO RTH); " is taken out (its the buttons panel) but when its added back in, i simply cannot type! HELP!!!!
Codes are as follow:
[CODE=java] import java.awt.*;
import javax.swing.*;
import java.awt.event. *;
import java.lang.Strin gBuffer;... -
Thanks for all the help! You're awesome :D... -
It works fine now but when i try to backspace it, I get little boxes (the kind you get when typing a foreign lang) any idea how i can get rid of it?...Leave a comment:
-
Can you help me out here? What should I add in? I'm a novice at this :-|...Leave a comment:
-
Yes it has already been initialized. I just dont seem to the a problem with the codes and I really have not a clue why it doesnt work.Leave a comment:
-
problem with printing text on a JFrame
Hi, im having a major problem with printing text on a JFrame. This is a simple whiteboard I'm doing but i just cannot seem to print the text properly. It prints all the alphabets on the same point (all the alphabets are piled on top of each other) instead of printing it incrementally like "this is a random string". Can anyone please help me???
Here's what I have so far:
[CODE=java] import java.awt.*;
import...
No activity results to display
Show More
Leave a comment: