| Detector: | DMMC |
| Target: | project ' synthetic ' versionpack-2 |
| Misuse: | misuse ' pack-2 ' |
| Tags: |
Details about the known misuse from the MUBench dataset.
| Description: | Calls JFrame.setVisible(true) without calling JFrame.pack(), such that the frame is not layouted before being shown. |
| Fix Description: | Call JFrame.pack() before JFrame.setVisible(true). |
| Violation Types: |
|
| In File: | NoPackBeforeVisible.java |
| In Method: | misuse(JFrame) |
| Code with Misuse: |
|