CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 21

Thread: PrintEvent help

Threaded View

  1. #1
    Join Date
    Sep 2011
    Posts
    197

    PrintEvent help

    Once again I have come to a halt I am in the proccess of tracking down the answer, but if someone here could save me some time that would be splendid.

    PrintEvent's (for the record I have already imported the PrintEvent class) syntax is like this..

    Code:
     new PrintEvent(method(args));
    I have encased mine in the 'try' statment.

    My only question is how do I tell java WHERE to PrintEvent(); also, what syntax do I use to do so.


    Just in case you need it here's mine:

    Code:
     
      PrintEvent pe = null;
      paraM = newObj(paraM);
    
       try {
         bw.write(paraM);
        pe = new PrintEvent(newObj(paraM));
    } catch (IOException ioe) {
    			}
    Last edited by kolt007; September 15th, 2011 at 11:49 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured