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 155093 - I18N : Abnormal coloring of codes for JavaFX
Summary: I18N : Abnormal coloring of codes for JavaFX
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Anton Chechel
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-12-10 05:29 UTC by glarian
Modified: 2009-04-15 11:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Abnormal color in code (14.39 KB, image/gif)
2008-12-10 05:30 UTC, glarian
Details
Works for me reason (48.12 KB, image/png)
2008-12-12 08:40 UTC, Rastislav Komara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description glarian 2008-12-10 05:29:27 UTC
During coding, editor showed abnormal color.
Please refer to the attached screen shot for this issue.
For example, the last character of true is black even though other characters are green.
Comment 1 glarian 2008-12-10 05:30:22 UTC
Created attachment 74778 [details]
Abnormal color in code
Comment 2 Dusan Balek 2008-12-10 08:03:24 UTC
Reassigning to javafx.
Comment 3 David Strupl 2008-12-10 08:44:42 UTC
Did it stay like this even after you stop typing or was it re-colored after some time?
Comment 4 glarian 2008-12-10 08:47:31 UTC
This happens when I finished typing.
Re-coloring is not confirmed.
At this time, I cannot see any normal coloring in my editor screen.
Comment 5 Rastislav Komara 2008-12-11 11:17:30 UTC
Please attach whole .fx script please. Thank you
Comment 6 glarian 2008-12-11 13:48:43 UTC
Here is my full script. (very simple, but has wrong color at the end of the word)

/*
 * test.fx
 *
 * Created on 2008. 12. 10, 오후 1:11:08
 */

package testui;

import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.shape.Rectangle;
import javafx.scene.paint.Color;
import javafx.scene.shape.Polygon;
import javafx.ext.swing.SwingComboBox;
import javafx.ext.swing.SwingComboBoxItem;
import javafx.ext.swing.SwingButton;
import javafx.ext.swing.SwingLabel;


/**
 * @author khimhs
 */
var swingComboBox: SwingComboBox = null;

    Stage {
        title : "Nodes"
        width: 220
        height: 170
        visible: true
        scene: Scene {
        width: 200
        height: 200
        content: [
            Rectangle {
                x: 10,
                y: 10
                width: 140,
                height: 90
                fill: Color.GRAY
            }
            Polygon {
                points : [ 0,0, 100,0, 100,100 ]
                fill: Color.YELLOW
            }            
        ]

        }
    }

Comment 7 Rastislav Komara 2008-12-12 08:40:24 UTC
Created attachment 74887 [details]
Works for me reason
Comment 8 Rastislav Komara 2008-12-12 08:41:27 UTC
Works for me. Please provide more information about your platform and system. There has to be some other issue (encoding
or something like this I guess) which causes this.
Comment 9 glarian 2008-12-12 09:00:41 UTC
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; MS949; ko_KR (nb)

Above is my detailed information in About page.
I made that script using typing and also using palette.

I hope that this is not system related.

Please refer to the information and let me know if you need anything.
Comment 10 glarian 2008-12-15 15:56:53 UTC
http://java.sun.com/javafx/1/tutorials/build-javafx-nb-app/define-clock-face.html

At this training material, you can find the same error on the second image.
the last word of BLACK is actually black and is not italic.

Please refer to the site and image.

Thanks and BR
Comment 11 glarian 2009-01-05 08:37:50 UTC
Hello

I tried to use Netbeans 6.5 JavaFX package in English version and Korean version of Windows XP O/S.
The result is...
Abnormal function in Korean Version O/S
Normal function in English Version O/S

Please refer to the comment and let me know your advice.

I really want to use NB for learning JavaFX and making applications.

Thanks and BR
Comment 12 Rastislav Komara 2009-01-20 07:57:35 UTC
This is caused on individual basis. Lowering priority to align with current situation
Comment 13 Masaki Katakai 2009-02-13 02:29:36 UTC
similar I18N issue of bug 156117.
Comment 14 Rastislav Komara 2009-03-02 10:15:10 UTC
reassigning to new owner.
Comment 15 Masaki Katakai 2009-03-23 14:09:52 UTC
I believe this issue has been fixed by bug 156117.
Comment 16 Anton Chechel 2009-03-30 16:28:12 UTC
fixed, please verify it on your environment
Comment 17 glarian 2009-03-31 00:30:39 UTC
What version should I use?
Is the 6.5.1 right version for testing?
Please confirm the version of NetBeans.

Thanks
Comment 18 Alexandr Scherbatiy 2009-04-15 11:13:45 UTC
verified