RFR: 8328402: Implement pausing functionality for the PassFailJFrame [v3]

Alexander Zvegintsev azvegint at openjdk.org
Thu Mar 21 11:51:43 UTC 2024


>> 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)

Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:

  TimeoutHandlerPanel.PAUSE_BUTTON_LABEL -> PAUSE_BUTTON_LABEL

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18368/files
  - new: https://git.openjdk.org/jdk/pull/18368/files/10f4580e..3005ee64

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18368&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18368&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18368.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18368/head:pull/18368

PR: https://git.openjdk.org/jdk/pull/18368


More information about the client-libs-dev mailing list