• Member Avatar for Doogledude123
    Doogledude123

    Began Watching Please Mark as Solved.

    I was just thinking about all of the unsolved threads, the ones that actually are solved, and I was thinking, maybe @Dani could add a 'Please Mark as Solved' button …
  • Member Avatar for Doogledude123
    Doogledude123

    Gave Reputation to emoon11 in lines of codes program

    can you write code to read from file the count the LOC with out comment and blank
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in number

    Please keep in mind you then have to code everything you want to do with the final value in the f class. If you code it the way I showed …
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching number

    i write code with class f that have constructor : public f(int number){ this.number=number; } i want to write method that get one f then add it with f which …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in number

    So you have 2 classes, the main class containing the main method, and a class f? You also have 2 instances of class f, both with numbers passed into them …
  • Member Avatar for Doogledude123
    Doogledude123

    Created Displays the Wrong Data on Load.

    Does clear use removeAll method for listViews? I have a program that reads a file and stores the data in multiple arrays. I then use that data from the arrays …
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching Displays the Wrong Data on Load.

    Does clear use removeAll method for listViews? I have a program that reads a file and stores the data in multiple arrays. I then use that data from the arrays …
  • Member Avatar for Doogledude123
    Doogledude123

    Marked Solved Status for JavaFX ListView SelectedIndexChanged AIOOB

    Okay, so I have a ListView populated by an Array, which is populated by a text file. I also have 3 TextBoxes which are changed to different values in multiple …
  • Member Avatar for Doogledude123
    Doogledude123

    Marked Solved Status for 2D Side Scroller Collision Detection

    I am trying to determine collision in a 2D Side Scroller environment using Rectangles. However, the way most people do it is to get the bounds of the Tile. I …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in 2D Side Scroller Collision Detection

    Makes sense, however how would you check that with a player? The player would be moving, so how would you determine which object is the closest since you wouldnt just …
  • Member Avatar for Doogledude123
    Doogledude123

    Created JavaFX ListView SelectedIndexChanged AIOOB

    Okay, so I have a ListView populated by an Array, which is populated by a text file. I also have 3 TextBoxes which are changed to different values in multiple …
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching JavaFX ListView SelectedIndexChanged AIOOB

    Okay, so I have a ListView populated by an Array, which is populated by a text file. I also have 3 TextBoxes which are changed to different values in multiple …
  • Member Avatar for Doogledude123
    Doogledude123

    Created 2D Side Scroller Collision Detection

    I am trying to determine collision in a 2D Side Scroller environment using Rectangles. However, the way most people do it is to get the bounds of the Tile. I …
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching 2D Side Scroller Collision Detection

    I am trying to determine collision in a 2D Side Scroller environment using Rectangles. However, the way most people do it is to get the bounds of the Tile. I …
  • Member Avatar for Doogledude123
    Doogledude123

    Marked Solved Status for Game Takes away TOO much Gold

    So I have a button which adds a "Miner" then removes the cost of the Miner. The problem is that it is taking away too much, double the cost, and …
  • Member Avatar for Doogledude123
    Doogledude123

    Marked Solved Status for KeyBoard Input Not Responding [Custom Game Engine]

    When I run the game and try to use the Arrow keys to control the movement of the selection box, nothing happens. I'm pretty sure the game is redrawing itself …
  • Member Avatar for Doogledude123
    Doogledude123

    Created Game Takes away TOO much Gold

    So I have a button which adds a "Miner" then removes the cost of the Miner. The problem is that it is taking away too much, double the cost, and …
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching Game Takes away TOO much Gold

    So I have a button which adds a "Miner" then removes the cost of the Miner. The problem is that it is taking away too much, double the cost, and …
  • Member Avatar for Doogledude123
    Doogledude123

    Marked Solved Status for Application Doesn't Terminate In Eclipse On Close

    Could someone give me a few reasons why an Application isn't terminating on close? `*THIS IS FOR A JavaFX APPLICATION*`
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in Application Doesn't Terminate In Eclipse On Close

    What do you mean "ordinary instance variable"?
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX Label setText NullPointer

    You can use the `AnimationTimer` but I chose not to because it compliments dynamic time steps over fixed time steps. I'll check out what `Timeline` is. EDIT: `Timeline` is used …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in Application Doesn't Terminate In Eclipse On Close

    If I use `primaryStage.setOnCloseRequest()` then I can't close my java.util.Timer. The error it gives is "Cannot refer to a non-final variable timer inside an inner class defined in a different …
  • Member Avatar for Doogledude123
    Doogledude123

    Created Application Doesn't Terminate In Eclipse On Close

    Could someone give me a few reasons why an Application isn't terminating on close? `*THIS IS FOR A JavaFX APPLICATION*`
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching Application Doesn't Terminate In Eclipse On Close

    Could someone give me a few reasons why an Application isn't terminating on close? `*THIS IS FOR A JavaFX APPLICATION*`
  • Member Avatar for Doogledude123
    Doogledude123

    Marked Solved Status for JavaFX Label setText NullPointer

    This is PART of my GoldMiner class where the problem is occuring. I am getting a null pointer. I assume it is because of the way I declared my sceneController …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX Label setText NullPointer

    Okay, and I put it in the start method. I did, and nothing. I even tried putting the ActionListener and Timer outside of the start method, and just called timer.start(); …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX Label setText NullPointer

    Alright, so I removed the loop completely. I implemented a SwingTimer Timer timer; ActionListener listener; listener = new ActionListener() { public void actionPerformed(ActionEvent e) { if(sceneController.game == null) sceneController.game = …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX Label setText NullPointer

    I tried moving all the code from the tick inside the start method which didnt do anything. EDIT: I managed to get it working, however my values are not updating …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX Label setText NullPointer

    I did, I managed to get the program running without error by calling the controller directly (`sceneController.total....`) however the program stops responding immediately. private static void tick() { long lastTime …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX Label setText NullPointer

    Im calling everything from the main method. I managed to print which is null, and I was doing it like System.out.println(controller); System.out.println(controller.totalGoldLabel); System.out.println(game); System.out.println(game.getTotalGold()); But I only got 1 returned …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX Label setText NullPointer

    What do you mean Stultuske? `System.out.println();` is not printing, is it because it is a JavaFX Application? So I cannot find which is null. The error is being produced from …
  • Member Avatar for Doogledude123
    Doogledude123

    Marked Solved Status for JavaFX The Constructor PerspectiveCamera(boolean) is Undefined.

    `final PerspectiveCamera camera = new PerspectiveCamera(true);` The constructor PerspectiveCamera(boolean) is undefined. http://download.java.net/jdk8/jfxdocs/javafx/scene/PerspectiveCamera.html Clearly says that it can accept a boolean for "verticalFieldOfView" Why is Java giving me this error?
  • Member Avatar for Doogledude123
    Doogledude123

    Created JavaFX Label setText NullPointer

    This is PART of my GoldMiner class where the problem is occuring. I am getting a null pointer. I assume it is because of the way I declared my sceneController …
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching JavaFX Label setText NullPointer

    This is PART of my GoldMiner class where the problem is occuring. I am getting a null pointer. I assume it is because of the way I declared my sceneController …
  • Member Avatar for Doogledude123
    Doogledude123

    Marked Solved Status for JavaFX FXMLLoader.load();

    Cannot get FXMLLoader to load this fxml. Error: Feb 19, 2014 11:25:01 PM com.github.geodox.goldminer.GoldMiner start SEVERE: null java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2825) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2809) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2795) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2782) at …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX FXMLLoader.load();

    Solved, FXML need to be in bin directory, and forgot the / at the beginning on the path on line 24.
  • Member Avatar for Doogledude123
    Doogledude123

    Created JavaFX FXMLLoader.load();

    Cannot get FXMLLoader to load this fxml. Error: Feb 19, 2014 11:25:01 PM com.github.geodox.goldminer.GoldMiner start SEVERE: null java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2825) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2809) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2795) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2782) at …
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching JavaFX FXMLLoader.load();

    Cannot get FXMLLoader to load this fxml. Error: Feb 19, 2014 11:25:01 PM com.github.geodox.goldminer.GoldMiner start SEVERE: null java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2825) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2809) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2795) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2782) at …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX The Constructor PerspectiveCamera(boolean) is Undefined.

    Thanks for the reply, will mark as solved as soon as I test it.
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in JavaFX The Constructor PerspectiveCamera(boolean) is Undefined.

    Java Version 7 Update 51. JFX Library added from "C:\Program Files\Java\jdk1.7.0_51\jre\lib\jfxrt.jar" Am I missing a Jar?
  • Member Avatar for Doogledude123
    Doogledude123

    Created JavaFX The Constructor PerspectiveCamera(boolean) is Undefined.

    `final PerspectiveCamera camera = new PerspectiveCamera(true);` The constructor PerspectiveCamera(boolean) is undefined. http://download.java.net/jdk8/jfxdocs/javafx/scene/PerspectiveCamera.html Clearly says that it can accept a boolean for "verticalFieldOfView" Why is Java giving me this error?
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching JavaFX The Constructor PerspectiveCamera(boolean) is Undefined.

    `final PerspectiveCamera camera = new PerspectiveCamera(true);` The constructor PerspectiveCamera(boolean) is undefined. http://download.java.net/jdk8/jfxdocs/javafx/scene/PerspectiveCamera.html Clearly says that it can accept a boolean for "verticalFieldOfView" Why is Java giving me this error?
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in 3D Perspective of Color

    Alright, was just wondering. Didn't want to learn it if I didn't have to at the moment.
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in 3D Perspective of Color

    Before I start, is there a way to do it with the standard libraries? I know I could do it in 2D, which would require more code. And it would …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in 3D Perspective of Color

    I was basically going to make a cube 255, 255, 255. And probably have something along the lines of a scroll possibly? Scroll in to make the pixels in the …
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching Why isn't my image loading on my JPanel??

    Guys why is my image not loading on my JFrame?? BTW I am using eclipse on my mac. Code for Board : package ourgame; import java.awt.*; import java.awt.event.*; import javax.swing.*; …
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in Why isn't my image loading on my JPanel??

    He told you what code you needed to put in. > size/preferredSize/minimumSize setPreferredSize setMinimumSize setMaximumSize
  • Member Avatar for Doogledude123
    Doogledude123

    Replied To a Post in 3D Perspective of Color

    So it would be possible, but how would you solve the hard to see problem? Could you just use transparency?
  • Member Avatar for Doogledude123
    Doogledude123

    Created 3D Perspective of Color

    Alright, so I am thinking about an idea of a useless application, however it is interesting me. A 3D "perspective" of color. I know, confusing. But think of it this …
  • Member Avatar for Doogledude123
    Doogledude123

    Began Watching 3D Perspective of Color

    Alright, so I am thinking about an idea of a useless application, however it is interesting me. A 3D "perspective" of color. I know, confusing. But think of it this …

The End.