RFR: JDK-8316781 Legal, Monarch paper sizes are incorrect in javafx.print.Paper

Phil Race prr at openjdk.org
Mon Sep 25 16:45:25 UTC 2023


On Mon, 25 Sep 2023 16:32:31 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> looks good.
> 
> I also think we should consider making the Paper constructor public to support other paper sizes (as a separate RFE).


That's a design decision of the API that it not be public since you are only supposed to use
Paper sizes enumerated by the Printer as supported, and the implementation creates those for you.

So any you create with arbitrary sizes aren't useful.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1248#issuecomment-1734112814


More information about the openjfx-dev mailing list