This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 232405 - HeapWalker UI Preview, all text not displayed in Instances view
Summary: HeapWalker UI Preview, all text not displayed in Instances view
Status: RESOLVED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-08 19:50 UTC by masmall
Modified: 2013-07-09 10:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description masmall 2013-07-08 19:50:23 UTC
DESCRIPTION
++++++++++++
HeapWalker UI Preview window, does not show all text in Instance view:

ClientEditor.java
1) javax.swing.JRadioButton Instance #1 shows "fem..."; Instance #2 shows "m..."
Expecting UI Preview to show: "male" "female"

Antenna.java
1) javax.swing.JLabel Instance #3 shows "Wa..."
2) javax.swing.JCheckBox Instance shows "Height is Lower Edge (Not Cent..." <=Expecting entire text

Expanding the UI Preview window, making it larger, does not show more detail text

STEPS
+++++
Launch NetBeans, JDK1.7.0_21 (64-bit):

1. From the main menu, click File=>New Project...
"New Project" window is displayed.
2. From the "Choose Project" page, hierarchical "Categories" tree, click Samples=>Java
3. From the "Projects" list, click "Client Editor"
4. Click "Next" button
5. From the "Name and Location" page, click "Finish" button
6. Click ClientEditor.java
7. From the main menu, click Profile=>Profile Project (ClientEditor)
"Profile ClientEditor" dialog is displayed.
8. Click "CPU" button
9. Click "Advanced (instrumented)" button
10. Filter: Profile only project classes
11. Click "Run" button
12. From the Profiler window, click "Live Results" button
13. From the Swing app, click "female" radio button, in the "Personal" tab
14. From the Profiler window, click "Dump Heap" button
"Choose Heap Dump Destination" dialog is displayed.
15. Keeping all defaults, click "OK" button
"Heap Dump Saved" dialog is displayed.
16. Click "Yes" button
17. From the HeapWalker, "Classes" view, right-click "javax.swing.JRadioButton"=>Show in Instances View

RESULTS
+++++++
javax.swing.JRadioButton 
Instance #1 shows "fem..."; Expecting UI Preview to show: "female"
Instance #2 shows "m..."; Expecting UI Preview to show: "male"

18. Repeat above steps using "GUI Form Examples", CPU Profile, "Advanced (instrumented)" "Antenna.java"
19. From the HeapWalker, "Classes" view, right-click "javax.swing.JCheckBox"=>Show in Instances View

RESULTS
+++++++
javax.swing.JCheckBox 
Instance #1 shows "Height is Lower Edge (Not Cent..."; Expecting UI Preview to show: "Height is Lower Edge (Not Center)";

20. From the HeapWalker, "Classes" view, right-click "javax.swing.JLabel"=>Show in Instances View

RESULTS
+++++++
javax.swing.JLabel
Instance #3 shows "Wa..."
Expecting UI Preview to show: "Watts"

Expanding the UI Preview window (making it larger), does not show more detail text
Comment 1 Jiri Sedlacek 2013-07-09 10:03:46 UTC
Not a bug, works as designed. Components are displayed using their original sizes & fonts, this is how it behaves when the look'n'feels and/or desktop properties differ between the app and heapwalker.