| Detector: | MuDetectOPAL_180324 |
| Target: | project ' synthetic_survey ' versionjsl |
| 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: | mubench/examples/survey/JFramePack.java |
| In Method: | needsPackToLayout(JFrame) |
| Code with Misuse: |
|
| Code with Pattern(s): |
|