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 117297 - Foreground and Background attributes do not work in Preview
Summary: Foreground and Background attributes do not work in Preview
Status: VERIFIED INVALID
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexei Mokeev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-01 13:20 UTC by Alexandr Scherbatiy
Modified: 2008-10-15 14:38 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 Alexandr Scherbatiy 2007-10-01 13:20:08 UTC
Steps to reproduce:

- Copy the code to the editor:
 ------------------------------------------------
import javafx.ui.*;

Frame {
    width: 100
    height: 100
      content: FlowPanel{ content: Label{
            text: "Hello World!"
            foreground: orange
        } 
      }
    background:black
    visible: true
}
 ------------------------------------------------
- Enable the Preview
  There is a black text on the gray panel in the Preview
- Run  the code
  There is an orange text on the black panel on the appeared window
Comment 1 Jiri Prox 2008-04-11 00:31:27 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 2 Jiri Prox 2008-04-11 08:53:03 UTC
Restoring original TM, sorry for any inconvenience 
Comment 3 Alexandr Scherbatiy 2008-04-29 12:58:00 UTC
- Create 'Best Practices|Forms|Points and Lines' sample
- Enable the Preview
  The example background is not shown.
Comment 4 Andrey Yamkovoy 2008-10-15 13:53:53 UTC
There are no Frame class in fx now.
Comment 5 Alexandr Scherbatiy 2008-10-15 14:38:57 UTC
verified in 2008-10-15_15-04-40.zip