yeah, becuse i dont understand java programming, that why i need your help
Type: Posts; User: aelynne
yeah, becuse i dont understand java programming, that why i need your help
it doesnt have error message. i can compile it, just it has red line below the text. and when i pressed save button it eventdispatchthread. java and show this
if (theQueue.peekEvent() != null || ...
this the error,1268
my error is in here. at the canvas, image n so on. getWidth, getHeight. what should i replace to that?
public void capture(){
Graphics g = image.createGraphics();
...
my error is in here. at the canvas, image n so on. getWidth, getHeight. what should i replace to that?
public void capture(){
Graphics g = image.createGraphics();
...
like this? but i it have error
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import...
i dont get it. i'm new to java. can u give example? or help me add in my code?
is it in here
if (image == null?
this is the code example same as i do. how to add save function to it?
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import...
take a look at this, i have paint component. but how I can save the image?
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import...
i dont get it, can you give some example?
try this. i already done that, nothing problem. my problem is how to save the image i draw in the canvas.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import...
i can compile it. nothing problem
sorry, this is my new code. when i run, it save blank black image. i want to save the drawing on the canvas. please help me.
import javax.swing.*;
import java.awt.*;
import...
I have done this, but i have problem to save the image? can someone help me?
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import...
I currently working for the interface for my project.
in my interface, there should have a box / text field that can accept mouse listener event from tablet to get signature. how to do this?
i have a chain code coding for straight-forward signature,and now i need to do for the signature that have intersection, how?
its okay, i have successed. but, this program only for straightforward signature, doesn't have any junction. If the signature is complex with junction, how to do that?
i have run this program,
import javax.imageio.ImageIO;
import java.io.*;
import java.io.IOException;
import java.awt.image.BufferedImage;
import java.util.Vector;
public class Imagersteg {
okay. it is like this.
i have a signature that i get from a tablet, then i need to trace all the pixels of the signature using the chain code algorithm. the chain have 8 connection, which is from...
i didn't try anything yet, because i not have any idea about chain code in java. i need someone to give me idea on doing this.
hallo, i have to do programming on freeman chain code to traces the pixels of signatures. I usd bitmap image which in black and white. Can someone help me on how to do it in java?
Hello, I'm a new member in this forum.