This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Sending Fax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Sending Fax" Watch "Sending Fax" New topic

Sending Fax

v bobby

Joined: Feb 15, 2010
Posts: 7
import java.awt.*;
import com.java4less.rfax.*;
import java.util.*;
public class se{

public static void main(String[] args) {

TextFaxProducer p= new TextFaxProducer();

p.pageImage=createImage(800,550);// here i got error..

FaxModem m=new FaxModem();


m.resolution=m.RESOLUTION_NORMAL;; //
if (m.sendFax("123456789")){ System.out.println("Success ***"); }
else {System.out.println("Failure: " + m.lastError);}


ERROR cannot find symbol
symbol : method createImage(int,int)
location: class se
1 error

whether my program is correct or not
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
Please edit your post to UseCodeTags. It's unnecessarily hard to read the code as it is, making it less likely that people will bother to do so.

The error message tells you that the class does not have a createImage method (which your code is calling). Did you mean to call the createImage method of some other class/object?
Have you checked out Aspose?
subject: Sending Fax
It's not a secret anymore!