Search:

Type: Posts; User: simplegoogly

Search: Search took 0.32 seconds.

  1. Replies
    1
    Views
    1,494

    Re: Set page margins when printing in java

    Alright now I have found this article/code


    import java.awt.Color;
    import java.awt.Font;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.geom.Rectangle2D;
    import...
  2. Thread: Hello all

    by simplegoogly
    Replies
    1
    Views
    270

    Hello all

    Dont know what to say.

    Just hello to all.

    Hopefully I will get to know you all soon. :)
  3. Replies
    1
    Views
    1,494

    Set page margins when printing in java

    Hello,

    I wanted to set page margins and reduce them to accommodate the whole table I am creating.

    This is the code I am using to print :-


    JTextArea result_txt = new JTextArea("");
    ...
Results 1 to 3 of 3