-
Replied To a Post in help in Inheritance
I would recommend getting an Application called Eclipse. It is a Java IDE for developers and really helps with fixing code errors, it also points out errors before you even … -
Replied To a Post in help in Inheritance
You should be using some sort of IDE to help you with this. I see your code, but I still do not understand what you are looking for. Are you … -
Replied To a Post in null pointer error
First off, Begin by separating each Preference onto their own lines. This will help identify exactly which Preference is null. private Preference a; private Preference d; private Preference t; Then, … -
Replied To a Post in null pointer error
Please post the entire error. -
Began Watching Removing the first line in JTextPane
I want to remove the first line in jtextpane and setting setContentType("text/html") at the same time. setContentType("text/html"); Element root = getDocument().getDefaultRootElement(); Element firstLine = root.getElement(0); getDocument().remove(firstLine.getStartOffset(), firstLine.getEndOffset()); When I use … -
Replied To a Post in Removing the first line in JTextPane
I would recommend if this thread is not solved, that you do not mark it as such. -
Began Watching null pointer error
int e=0; int Compatability=0; int numOfDisagreements=0; int tsize=likes.size()+dislikes.size(); int numOfCommonLikes=0; int numOfCommonDislikes=0; if (user.likes.get(e).equals(Stranger.likes.get(e))){ if ((Stranger.howDoYouLike(likes.get(e)))== 1 && user.howDoYouLike(likes.get(e))==1) { numOfCommonLikes=numOfCommonLikes+1; } } else if (user.dislikes.get(e).equals(Stranger.dislikes.get(e))){ if ((Stranger.howDoYouLike(dislikes.get(e)))== -1 && … -
Replied To a Post in null pointer error
There's no need to post more code right now, first start out by posting the Stack Trace. The Stack Trace is basically the error that gets printed out when the … -
Began Watching help in Inheritance
what is correct solution in Inheritance ???? I am new to genetics in Java and I want to resolve this question I look at the question existing attachments please and … -
Replied To a Post in help in Inheritance
I really don't understand what you are asking? Are you asking for help in doing that assignment? Or are you wondering how each classes are linked together? If this is … -
Marked Solved Status for Server with Java
Alright, I've never done this before so this may not be the way to go about it, but here goes. I'm creating an Application that connects to a Server which … -
Replied To a Post in Server with Java
Awesome, thanks! -
Created Server with Java
Alright, I've never done this before so this may not be the way to go about it, but here goes. I'm creating an Application that connects to a Server which … -
Began Watching Server with Java
Alright, I've never done this before so this may not be the way to go about it, but here goes. I'm creating an Application that connects to a Server which … -
Replied To a Post in Connecting MySQL with Java Tutorials?
Do I still need to download the JDBC Connector in order to connect to a MySQL database? -
Replied To a Post in Connecting MySQL with Java Tutorials?
I figured I would use the Oracle tutorials as that would be the most official, and probably up to date tutorial. I already have a MySQL server running a database … -
Marked Solved Status for Connecting MySQL with Java Tutorials?
Hey, I'm looking for decent MySQL tutorials for connecting a Database in Java. I'm using Java 8 so preferably would like tutorials that correspond with newest code. Thanks! -
Created Connecting MySQL with Java Tutorials?
Hey, I'm looking for decent MySQL tutorials for connecting a Database in Java. I'm using Java 8 so preferably would like tutorials that correspond with newest code. Thanks! -
Began Watching Connecting MySQL with Java Tutorials?
Hey, I'm looking for decent MySQL tutorials for connecting a Database in Java. I'm using Java 8 so preferably would like tutorials that correspond with newest code. Thanks! -
Replied To a Post in PictureBox Wont Display
I am basically trying to draw a grid with spaces in between that I can color each cell individually. Then I need to draw 255 more of them on a … -
Replied To a Post in PictureBox Wont Display
Also causes the error. -
Replied To a Post in PictureBox Wont Display
Alright that did something, however when I try to run the Application it waits for a while then gives me this Error. An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in … -
Created PictureBox Wont Display
I am creating lots of PictureBox's on my Form but they will not display. I have tried to debug it to see if its trying to show in the wrong … -
Began Watching PictureBox Wont Display
I am creating lots of PictureBox's on my Form but they will not display. I have tried to debug it to see if its trying to show in the wrong … -
Marked Solved Status for Array throwing NPE
I am getting a NPE on `a`. I have no idea why the array would be null, but heres the relevent code for it. public void setAbility(Ability[] abilities) { for(Ability … -
Replied To a Post in Array throwing NPE
I found it... -.- I was initializing them after I was initializing Pokemon. -
Created Array throwing NPE
I am getting a NPE on `a`. I have no idea why the array would be null, but heres the relevent code for it. public void setAbility(Ability[] abilities) { for(Ability … -
Began Watching Array throwing NPE
I am getting a NPE on `a`. I have no idea why the array would be null, but heres the relevent code for it. public void setAbility(Ability[] abilities) { for(Ability … -
Replied To a Post in JavaFX
Eclipse works fine :P I have since switched to IntelliJ IDEA community edition. It doesn't matter what you use for it. Update your JDK to Java 8, JavaFX is built … -
Began Watching JavaFX
Apparently JavaFX is getting really into the game now as far as I see and I think its time I start getting to know it .. Just read a couple … -
Replied To a Post in JavaFX
Hey Slavi, glad to see some interest in Java FX. I definitely think Java FX is excelling now and will soon become a primary over swing. If you're looking into … -
Created Lack of Support for JavaFX
I am honestly baffled that there is almost NO help for anyone using JavaFX. For those of you who know Java like the Face on a clock, I encourage you … -
Began Watching Lack of Support for JavaFX
I am honestly baffled that there is almost NO help for anyone using JavaFX. For those of you who know Java like the Face on a clock, I encourage you … -
Replied To a Post in JavaFX TreeView will not Resize
The TreeView isn't even showing anymore. Updated code: FXML <?xml version="1.0" encoding="UTF-8"?> <?import java.lang.*?> <?import java.util.*?> <?import javafx.scene.control.*?> <?import javafx.scene.layout.*?> <?import javafx.scene.paint.*?> <?import javafx.scene.text.*?> <VBox maxHeight="720.0" maxWidth="1280.0" minHeight="720.0" minWidth="1280.0" prefHeight="720.0" … -
Marked Solved Status for JavaFX SplitPane Divider
How would you "lock" the position of a SplitPane Divider in JFX? I've tried google-ing around, and all I can find is ways to make it Transparent, which I believe … -
Replied To a Post in JavaFX SplitPane Divider
Solved. Set the containers min and max width/height (depending on horizontal or vertical) to be the same. Be cautious because this limits the resizability. -
Created JavaFX TreeView will not Resize
I have a method that sets the width and height of the treeview to its parent's width and height, for some reason this isn't working. I had it working with … -
Began Watching JavaFX TreeView will not Resize
I have a method that sets the width and height of the treeview to its parent's width and height, for some reason this isn't working. I had it working with … -
Created JavaFX SplitPane Divider
How would you "lock" the position of a SplitPane Divider in JFX? I've tried google-ing around, and all I can find is ways to make it Transparent, which I believe … -
Began Watching JavaFX SplitPane Divider
How would you "lock" the position of a SplitPane Divider in JFX? I've tried google-ing around, and all I can find is ways to make it Transparent, which I believe … -
Marked Solved Status for JPanel not displaying on JFrame
I cannot get the JFrame to display my JPanel. Either that, or my JPanel isn't displaying my JScrollPane. Here's my code: public class PokeBase extends JFrame { private static final … -
Replied To a Post in JPanel not displaying on JFrame
Solving this by Switching to JavaFX... I think that's what I'm gunna use for GUI's from now on. -
Edited JPanel not displaying on JFrame
I cannot get the JFrame to display my JPanel. Either that, or my JPanel isn't displaying my JScrollPane. Here's my code: public class PokeBase extends JFrame { private static final … -
Created JPanel not displaying on JFrame
I cannot get the JFrame to display my JPanel. Either that, or my JPanel isn't displaying my JScrollPane. Here's my code: public class PokeBase extends JFrame { private static final … -
Began Watching JPanel not displaying on JFrame
I cannot get the JFrame to display my JPanel. Either that, or my JPanel isn't displaying my JScrollPane. Here's my code: public class PokeBase extends JFrame { private static final … -
Marked Solved Status for Returning a Favor of a Supportive Girlfriend
My girlfriend, as confused as she is when I talk about programming, wants me to program her something. She's away on vacation to Australia right now. Of course, I told … -
Replied To a Post in Returning a Favor of a Supportive Girlfriend
Hmm, both viable options. I'll look into them! -
Replied To a Post in Returning a Favor of a Supportive Girlfriend
Shes absolutely in love with Pokemon, so I was thinking a Pokemon DataBase? -
Replied To a Post in Returning a Favor of a Supportive Girlfriend
"Back End" programming, limitted GUI, no networking. -
Replied To a Post in Returning a Favor of a Supportive Girlfriend
Hmmm, possible, although, I have no idea how to do filters. Nice idea, although I was on the lines of something a little more simple :P
The End.