RFR: 8328402: Implement pausing functionality for the PassFailJFrame

Alexander Zvegintsev azvegint at openjdk.org
Tue Mar 19 01:20:21 UTC 2024


On Tue, 19 Mar 2024 01:14:29 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> we need to add next to Pass/Fail a "Pause Timer" button, that
> (a) stops the count down
> (b) changes the Pause Timer to "Resume Timer"
> ~~(c) disables Pass/Fail until the timer is resumed~~
> the test will not have to pause or be aware - only the PassFailJFrame machinery.
> ~~So the tester can do anything they want except exit the test in the paused mode.~~
> 
> This PR implements everything except the (c).
> I see nothing wrong with completing the test from the paused state, and it does not add an extra click.  
> 
> 
> Example screenshots:
> 
> ![image](https://github.com/openjdk/jdk/assets/77687766/65d34bf8-1e46-4e68-b39e-a77f257ec3c0)
> ![image](https://github.com/openjdk/jdk/assets/77687766/3a43e059-2d48-46f3-9d1b-c2ab84fcce37)

@aivanov-jdk you might want to take a look

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

PR Comment: https://git.openjdk.org/jdk/pull/18368#issuecomment-2005555788


More information about the client-libs-dev mailing list