RFR: 8288137: The set of available printers is not updated without application restart [v3]

Phil Race prr at openjdk.org
Fri Jul 8 21:01:31 UTC 2022


On Fri, 8 Jul 2022 20:26:08 GMT, Phil Race <prr at openjdk.org> wrote:

>> In that case shouldn't the assignment of `lastTime` be moved up two lines, right below the call to `updatePrinters`? Or am I  missing something?
>
> I guess I knew what I wanted but didn't have the code to match :-)

I think I know how it ended up outside the conditions .. I also need to set it up on the first time through
else the 2nd call will always trigger a refresh since otherwise lastTime will be zero .. 
fixing that.

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

PR: https://git.openjdk.org/jfx/pull/817


More information about the openjfx-dev mailing list