Re: JavaFx Problem

2020-07-07 Thread Bradley Willcott
Hi there. I could not get this to work using NB 12 and Ant.  However, I eventually got it to work with Maven, with a lot of mucking around. :-( Firstly, you had the "create scene" code inside your loops.  By moving this outside of ALL loops, as the last thing to execute, it works. :-) I

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
Thank you for your important information. Anyone who is interested in deep level of learning regarding math or computer science, can use your website as a resource center or library. On Mon, Jul 6, 2020 at 10:22 PM slipbits wrote: > They are all downloadable. If I've done my job correctly, you

Re: JavaFx Problem

2020-07-06 Thread slipbits
Hi; Learning is a lifetime avocation. Once you 'start' to enjoy it, you will always enjoy it. And that's what gets you through the day. I used to say (still do for that matter) that anything that I once learned I will use. Sometimes I will use it years after I 'learned' it. When this

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
Wow. Some great things I came to know about you. Especially "always learning new things" probably take a special kind of mindset. Otherwise, very fewer people are willing to do that. And you people are some of those fewer people. But I'm a little shocked by knowing that, you don't drink coffee

Re: JavaFx Problem

2020-07-06 Thread Laszlo Kishalmi
On 7/6/20 7:16 AM, Brain Rebooting wrote: I have some questions since last couple of years. Here I want to ask you now. If it is possible for you, kindly answer my question. 1. What motivate or inspires you for working in an open source project, when you can spend that time too in commercial

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
I have some questions since last couple of years. Here I want to ask you now. If it is possible for you, kindly answer my question. 1. What motivate or inspires you for working in an open source project, when you can spend that time too in commercial purpose ? (I supposed that, because of your

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
 Actually I code that scene part, out of outer loop in IntelliJ IDEA community edition. That's why it works. Actually I am feeling embarrassed to ask for this question now. I should be more careful. By the way, I have no tutor or mentor. Whatever I learn, I learned it myself. I learned in

Re: JavaFx Problem

2020-07-06 Thread Geertjan Wielenga
But it works in IntelliJ IDEA community edition? Gj On Mon, Jul 6, 2020 at 12:27 PM Brain Rebooting wrote: > Thank you. Your program works. I made a silly mistake. Create scene inside > the for loop. > Take my greetings. > > Samiul alom sium > > On Mon, Jul 6, 2020 at 3:19 PM Geertjan Wielenga

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
Thank you. Your program works. I made a silly mistake. Create scene inside the for loop. Take my greetings. Samiul alom sium On Mon, Jul 6, 2020 at 3:19 PM Geertjan Wielenga wrote: > This is probably what you want to do: > > package com.mycompany.mavenproject22; > > import

Re: JavaFx Problem

2020-07-06 Thread Geertjan Wielenga
This is probably what you want to do: package com.mycompany.mavenproject22; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.scene.paint.Color; import javafx.stage.Stage; import javafx.scene.shape.Rectangle; /** * JavaFX App */

Re: JavaFx Problem

2020-07-06 Thread Geertjan Wielenga
You're creating a scene at the end of some kind of nested for loop? Gj On Mon, Jul 6, 2020 at 10:54 AM Brain Rebooting wrote: > OK. Here I am going to submit my simple source code of JavaFX program, > that should show a black and white chessboard. > > >

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
OK. Here I am going to submit my simple source code of JavaFX program, that should show a black and white chessboard. import

Re: JavaFx Problem

2020-07-06 Thread Geertjan Wielenga
Can you provide any info so someone can reproduce the problem? Gj On Mon, 6 Jul 2020 at 08:02, Brain Rebooting wrote: > Probably not only this specific program. After installing NetBeans 12, > none of my JavaFX program show output (with ant build). But NetBeans 11.3 > with all same

Re: JavaFx Problem

2020-07-06 Thread Brain Rebooting
Probably not only this specific program. After installing NetBeans 12, none of my JavaFX program show output (with ant build). But NetBeans 11.3 with all same configuration, did output my JavaFX program. On Mon, Jul 6, 2020 at 11:47 AM Brain Rebooting wrote: > > Problems started from this line

Re: JavaFx Problem

2020-07-05 Thread Brain Rebooting
Problems started from this line on the console: Exception in Application start method But when I run the same program in IntelliJ IDEA community edition, it just works and literally I don't see any error on my own source code. Apache NetBeans error detector don't show any error on my source

Re: JavaFx Problem

2020-07-05 Thread Emilian Bold
Start by telling us which errors you see. --emi lun., 6 iul. 2020, 08:04 Brain Rebooting a scris: > Why Apache NetBeans 12 don't execute my JavaFX program? I run the same to > same program in IntelliJ IDEA community edition and it works. But NetBeans > shows there are some errors. Here is my

JavaFx Problem

2020-07-05 Thread Brain Rebooting
Why Apache NetBeans 12 don't execute my JavaFX program? I run the same to same program in IntelliJ IDEA community edition and it works. But NetBeans shows there are some errors. Here is my software usage: Apache NetBeans 12 Ubuntu 18 JDK 8 Samiul alom sium Bangladesh