Jamie Coleshill

Greenhorn
+ Follow
since Oct 18, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Jamie Coleshill

Got the answer to my question from PavelSafrata on Oracles OTN, the tex coords have to be proportional...
11 years ago
You could try the following code with each line of data you get from the file.

[Moderator action: solution removed]

11 years ago
this is what I tend to do most times.

11 years ago
First thing is where are you declaring your String[] mezok? The second thing is that you can not do .setText("") on a string or array of Strings, you must use the = sign as follows because as the ADT say's "The method setText(String) is undefined for the type String".

11 years ago
There was an article in the recent Java Magazine that discusses Java 8, collections, Lambdas, and various methods for using them all together. Here is the link to that article if anyone is interested in reading it.

Java Magazine Sept/Oct 2013
11 years ago
@John. Thank you for the links, I had already seen some of them. They helped a little bit, but did not solve the problem that I am having. I also did not know about the cross posting thing, so thank you for bring that to my attention. Its unfortunate that the JavaFX 3D aspects are so new because there are so few resources out there for them, and with it still being only beta, it is still subject to possible change.
11 years ago
I would use FXML and make multiple scenes. If you are not to sure on how to handle multiple scenes, I would suggest you goto the following two links and read over them.

Angela's Blog
getting started with javafx


I myself made a login screen based somewhat on those codes as well as another one that I cant remember at the moment, but how I went about it is as follows...

Key parts in my main class are




This is only part of the code I have used and is also only from my main class, but what I have done is when the program starts it does the gotoLogin first. The login screen's controller is made aware of the main screen via the method shown in Angela's blog, and when a user successfully logs in the controller calls on the main screen's method of gotoClientHome and pass it a user object. In your case you would be passing the information that the user had entered.
11 years ago
Hello I am new to this site and was wondering if someone could give me a hand with a short piece of code. I am using a triangle mesh in JavaFX 8 3D and trying to make a die, but for some reason the code below will not skin my cube. I have put a test cube beside it to see if it will go onto that one, which it does (but with the image repeated on each side, as is to be expected). However when I add the material to my custom shape, it will not work. My code is as follows.



If I leave my material off of my custom cube, it will show up. Any help would be greatly appreciated.

ADDED

I should also not that if I used the following material for my custom shape it will work, it is only when I try to add my custom skin to it that it will not work.

11 years ago