-
Began Watching Lack of Mobile Support
I travel with my tablet a lot (iPad 2nd Gen) and I'm often checking out the forum and posting when I can, but I've been getting sick of it because … -
Replied To a Post in Some issues with My ComboLock
Alright, so It turns out it was much simpler then I thought. Just add `i--;` into each of the error cases. I have also turned against the use of `System.err.println("");` … -
Marked Solved Status for Some issues with My ComboLock
I'm trying to make this as easy as possible but I'm stuck. Inside the for loop, if the input entered was not a number or wasn't valid, it moves on, … -
Created Some issues with My ComboLock
I'm trying to make this as easy as possible but I'm stuck. Inside the for loop, if the input entered was not a number or wasn't valid, it moves on, … -
Began Watching Some issues with My ComboLock
I'm trying to make this as easy as possible but I'm stuck. Inside the for loop, if the input entered was not a number or wasn't valid, it moves on, … -
Replied To a Post in Searching Sub Directories for File
PM me them if you don't mind :) -
Replied To a Post in Searching Sub Directories for File
If I didn't want to code it myself, I assume by what you said, the NIO file classes has methods to do this? EDIT: Nevermind, I found it. `Files.walkFileTree(start, visitor);` … -
Edited Searching Sub Directories for File
I am trying to create a File Searching Utility that finds all Files with a given Name which searches all Folders (Sub Directories, and Sub Directories of Sub Directories) in … -
Created Searching Sub Directories for File
I am trying to create a File Searching Utility that finds all Files with a given Name which searches all Folders (Sub Directories, and Sub Directories of Sub Directories) in … -
Began Watching Searching Sub Directories for File
I am trying to create a File Searching Utility that finds all Files with a given Name which searches all Folders (Sub Directories, and Sub Directories of Sub Directories) in … -
Replied To a Post in Java projects for learners
I would have to disagree with that one James. Here's why. A console combo lock could teach separate classes, constructors and (as much as I now hate it) simple Scanner … -
Replied To a Post in Select-able Item using Labels in LibGDX
Is there any tutorials on how to use ImageTextButton? I'm having alot of trouble with ImageTextButtonStyle. -
Replied To a Post in Select-able Item using Labels in LibGDX
Is there anyway to do an isOver or checked with the up and down arrow keys? -
Replied To a Post in Select-able Item using Labels in LibGDX
I don't think I could use a TextButton because I want the labels to change with the up and down keys and with a hover effect with the mouse. I'm … -
Replied To a Post in Help with only allowing user to enter integers at a certain point
My bad, I read around the java doc trying to find a solution, and getInteger was one that I thought would work better in this case, guess I should've read … -
Began Watching How would I go on about this (Reading from file)
Hey there guys, I want to make a program that will track the number of times I have clicked a button. Thing is, I want this to write the information … -
Replied To a Post in How would I go on about this (Reading from file)
Create a JFrame, and a button. Button code should increase an integer variable by one. When the program loads, read the first line of a txt file and set the … -
Began Watching Help with only allowing user to enter integers at a certain point
I want the program to only allow integers at certain points. The code works but I have to enter a value twice then it skips a part of my code. … -
Replied To a Post in Help with only allowing user to enter integers at a certain point
What might fix your problem is `Integer.getInteger(String num);`. This returns null if the String passed is not numeric. Scanners are generally not a good idea, use a [BufferedReader](http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html). -
Created Select-able Item using Labels in LibGDX
I'm trying to create a set of selectable labels, New Game, Load Game, Options, and Exit. I created a MenuItem class which extends Label, and set up the constructor to … -
Began Watching Select-able Item using Labels in LibGDX
I'm trying to create a set of selectable labels, New Game, Load Game, Options, and Exit. I created a MenuItem class which extends Label, and set up the constructor to … -
Marked Solved Status for Lists and ArrayLists
I know with Lists you can instantiate them to an ArrayList, but is this generally a good idea? Is it better to do 'List<?> list = new ArrayList<?>();' rather then … -
Created Lists and ArrayLists
I know with Lists you can instantiate them to an ArrayList, but is this generally a good idea? Is it better to do 'List<?> list = new ArrayList<?>();' rather then … -
Began Watching Lists and ArrayLists
I know with Lists you can instantiate them to an ArrayList, but is this generally a good idea? Is it better to do 'List<?> list = new ArrayList<?>();' rather then … -
Marked Solved Status for Nested Classes
I know you can create nested classed (or just classes declared outside of the class in the same file) but what is the point of doing this? Why not just … -
Replied To a Post in Nested Classes
What are some situations or examples where each are useful in there own way? -
Created Nested Classes
I know you can create nested classed (or just classes declared outside of the class in the same file) but what is the point of doing this? Why not just … -
Began Watching Nested Classes
I know you can create nested classed (or just classes declared outside of the class in the same file) but what is the point of doing this? Why not just … -
Began Watching Inventory 4
To my Inventory Program Part 4 there are three parts and I was able to compile successfully with the first two. I end up get several errors with part 3 … -
Replied To a Post in Inventory 4
As jwenting said, these are missing imports. I have a feeling that you're a begginer and you're going through some tutorials just copying code. If you have done anything previous … -
Began Watching Unable to catch input from for loop
Hello all, I am trying to take input from user using scanner. The problem is, when the loop starts, it skips taking input for the first iteration. Here is the … -
Replied To a Post in Unable to catch input from for loop
Java Doc: Scanner.nextLine(); "Advances this scanner past the current line and returns the input that was skipped." Try using Scanner.next(); Also, its better to move everything into methods, and calling … -
Began Watching Inheriting vs Instantiating
Hi all, What is the difference in inheriting a class and instantiating a class, as both allows to inherit properties from the base class.I know there is a difference in … -
Replied To a Post in Inheriting vs Instantiating
I don't know if anyone else noticed, but this question was asked just the other day. Please double check for a thread asking the same thing before posting a new … -
Marked Solved Status for Consecutive Rolling
Alright, so I am simulating a rice roll 100 times, repeatedly. It's getting some whack numbers for some reason, I can't find the problem in code. I have done some … -
Replied To a Post in Consecutive Rolling
That fixed it! Thanks! Some output now that it's fixed: [99788, 99441, 99390, 99537, 99643, 99914] [99788, 99442, 99390, 99537, 99643, 99914] [99788, 99442, 99390, 99537, 99643, 99915] [99789, 99442, … -
Gave Reputation to JamesCherrill in Consecutive Rolling
In `rollConsec()` you can change the` while (true)` to a `do` loop with a limited (eg 20) number of iterations -
Replied To a Post in Consecutive Rolling
Found out what its doing. It isn't actually clearing the tempRolls, its adding them together. tempRolls: [13, 18, 12, 18, 21, 18] highestRolls: [0, 0, 0, 0, 1, 0] tempRolls: … -
Replied To a Post in Consecutive Rolling
Eclipse only stores a specific number of lines, and by the time I start and stop it, it's already went through a ton of lines. I'll see if I can … -
Began Watching Basic Hotel Application
Hello! I'm new to programming and I'm trying to do a basic hotel application using threads in java. Here is what i've already done: //room class public class Room { … -
Replied To a Post in Basic Hotel Application
I'll give you some help with the Booking and Unbooking of rooms. If you think about it logically, a room is inside a Hotel, yes? So let's put the booking … -
Replied To a Post in Consecutive Rolling
Forgot the Output: [34185, 91, 64, 10244, 527, 35703] [34185, 91, 64, 10245, 527, 35703] [34185, 91, 64, 10246, 527, 35703] [34185, 91, 64, 10247, 527, 35703] [34185, 91, 64, … -
Replied To a Post in Consecutive Rolling
Actually, taking it a step further, what if more then two values have the same highest? I wrote this code, which seems to work, but I dont know if its … -
Replied To a Post in Consecutive Rolling
Sounds good, will try fixing in a few hours when I hop back on my PC. Good catch with the two values being the same! In this case, you you … -
Replied To a Post in Consecutive Rolling
Wow, I've never felt so dumb in my life xD That's definitely a mistake! Still a few issues after correcting that, this is some output after about 15 seconds. ... … -
Created Consecutive Rolling
Alright, so I am simulating a rice roll 100 times, repeatedly. It's getting some whack numbers for some reason, I can't find the problem in code. I have done some … -
Began Watching Consecutive Rolling
Alright, so I am simulating a rice roll 100 times, repeatedly. It's getting some whack numbers for some reason, I can't find the problem in code. I have done some … -
Marked Solved Status for ASCII to Binary
Alright, so I am building a Converter to convert ASCII to Binary and for some reason, the for each loop stops working when it hits a space, and I have … -
Began Watching Inventory Program
Not sure what it is nedding I'm needing help on coding this program I get back some 2 errors. What I have is: public class Inventory { private double ItemNumber; … -
Replied To a Post in Inventory Program
Dont forget to mark the thread as solved!
The End.