| Summary: | Panel duplicates when rendering. | ||
|---|---|---|---|
| Product: | Group31Bullship | Reporter: | Fiona Ling <tkling8-c> |
| Component: | User Interface | Assignee: | Fiona Ling <tkling8-c> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bullshipkobayashi, psjim2-c |
| Priority: | --- | ||
| Version: | Demo 1.1 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Attachments: | screen capture to the bug | ||
This problem is due to not creating a new JPanel object when rendering new page, which induces new elements from the new rendering page like buttons being forced to add into an old pane with content. This is fixed by creating a new JPanel for every rendering. |
Created attachment 94 [details] screen capture to the bug Problem Description: In Calculator page, when press history tab to change page, 2 tabs moved to centre. When press calculator, the tab on above become thinner. When press the history tab again, duplicated tabs appear in centre. Keep repeat the steps above will make the tabs keep duplicating. Step to Reproduce: Continue as manager Press History tab Press Calculator tab Press History tab keep repeat the steps above Actual result: Change page fail Tabs above the page keep duplicating on upper part of the page and centre of the page. Expected result: Pressing tabs allow user to change page. Tabs will not duplicate.