Sinisterly
Java printing - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Java, JVM, & JRE (https://sinister.ly/Forum-Java-JVM-JRE)
+--- Thread: Java printing (/Thread-Java-printing)

Pages: 1 2


Java printing - Vi-Sion - 07-02-2018

I'm trying to make a button to print my JTable, well it worked i used JTable.print in an actionlistener but for some reason when i print it the table is too small any idea how to make the table bigger on print ?


RE: Java printing - Vultra - 07-02-2018

I wish I knew java. Have you tried the java discussion board or google it? Usually that does the trick.


RE: Java printing - Vi-Sion - 07-02-2018

Well i did google it, but all the solutions i found didn't work .


RE: Java printing - mothered - 07-02-2018

Judging by this thread,  @"Mr.Kurd" seems pretty fluent In Java.

He hasn't been active for a number of days, but has now been quoted and will hopefully respond.


RE: Java printing - Vultra - 07-02-2018

(07-02-2018, 10:53 AM)Vi-Sion Wrote: Well i did google it, but all the solutions i found didn't work .

I'll try and ask my mate that knows java.


RE: Java printing - Vi-Sion - 07-02-2018

That would be great from you thank you (Btw unless you want to be a ghost,idea changing your nickname color was a great idea, black was hard to see).


RE: Java printing - Vi-Sion - 07-02-2018

(07-02-2018, 11:17 AM)mothered Wrote: Judging by this thread,  @"Mr.Kurd" seems pretty fluent In Java.

He hasn't been active for a number of days, but has now been quoted and will hopefully respond.

Thank you, hope he can help Smile


RE: Java printing - mothered - 07-02-2018

(07-02-2018, 11:28 AM)Vi-Sion Wrote:
(07-02-2018, 11:17 AM)mothered Wrote: Judging by this thread,  @"Mr.Kurd" seems pretty fluent In Java.

He hasn't been active for a number of days, but has now been quoted and will hopefully respond.

Thank you, hope he can help Smile

You're welcome.

Stating the obvious, you may catch him on Discord.


RE: Java printing - Mr.Kurd - 07-04-2018

(07-02-2018, 11:17 AM)mothered Wrote: Judging by this thread,  @"Mr.Kurd" seems pretty fluent In Java.

He hasn't been active for a number of days, but has now been quoted and will hopefully respond.

Sorry for being offline, and thank you tagging me, I'll try helping as far as I can.


RE: Java printing - Mr.Kurd - 07-04-2018

Did you try this bro: https://docs.oracle.com/javase/tutorial/uiswing/misc/printtable.html
& this could help you as well: https://docs.oracle.com/javase/tutorial/uiswing/examples/misc/TablePrintDemo1Project/src/misc/TablePrintDemo1.java
Edit: Can you send me a screenshot for the page setting, the one in Print Dialog, and send me an example of what you printed.