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 147555

Summary: Extra whitespace at bottom of window shows during Preview only
Product: javafx Reporter: anns97 <anns97>
Component: UnsupportedAssignee: Oleg Barbashov <obarbashov>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Attachments: Design Preview window with whitespace pointed out by arrow
How window looks when running the file
Screenshoot

Description anns97 2008-09-18 01:18:09 UTC
Using 20080915 build with nbms from 20080916

To reproduce
1. Entered code from http://projects.joshy.org/demos/SDKExamples_v2/VideoPlayer/description.html
2. Choose Design Preview

Expected behavior
- Content window shows exactly how it will display as if it were being run

Actual behavior
- the content window in the Design Preview has some extra whitespace overlapping the bottom (see attachments). This does
not occur when running the file.
Comment 1 anns97 2008-09-18 01:19:27 UTC
Created attachment 70068 [details]
Design Preview window with whitespace pointed out by arrow
Comment 2 anns97 2008-09-18 01:20:07 UTC
Created attachment 70069 [details]
How window looks when running the file
Comment 3 Oleg Barbashov 2008-09-19 14:56:08 UTC
Sample can not be compiled with current runtime libraries.
Comment 4 anns97 2008-09-19 23:56:17 UTC
add the import statement :

 import javafx.stage.*;

and remove 

import javafx.application.*;

This worked with 9/15/08 build of NB and 9/19/08 nbms.
Comment 5 Oleg Barbashov 2008-09-22 12:16:19 UTC
Corrected (to compile) code works exactly as it works when running app. See attached screen.
Comment 6 Oleg Barbashov 2008-09-22 12:17:53 UTC
Created attachment 70200 [details]
Screenshoot
Comment 7 Anton Chechel 2009-01-20 12:44:20 UTC
looks like "work for me" resolution
Comment 8 Alexandr Scherbatiy 2009-01-23 13:41:55 UTC
unable to reproduce the issue in the latest build