-
Began Watching Experimenting with GridBagLayout
Hello, since I have realised how little I have understood of the GridBagLayout, I thought I'd open a thread where I could clarify one by one all my doubts. I … -
Replied To a Post in Experimenting with GridBagLayout
Alright, so I am working with GBL's too and I just came across this post which is perfect timing I guess. Quick question about the insets, can you add a … -
Marked Solved Status for Imports Question: Better to Import everything?
I've noticed when watching videos, usually people import everything. Such as `import javax.swing.*;`. So my question is, is it better to Import everything? Or only the things you need indiviually? … -
Replied To a Post in Imports Question: Better to Import everything?
Thanks for the responses guys! Helped for sure! -
Began Watching Question about Threads/Events
Hello, Thank you for the time! a) I have a Ball Object which implements the Runnable interface and traces the various positions of a ball. b) I then have a … -
Replied To a Post in Question about Threads/Events
Is each ball sending a collision message? -
Created Imports Question: Better to Import everything?
I've noticed when watching videos, usually people import everything. Such as `import javax.swing.*;`. So my question is, is it better to Import everything? Or only the things you need indiviually? … -
Began Watching Imports Question: Better to Import everything?
I've noticed when watching videos, usually people import everything. Such as `import javax.swing.*;`. So my question is, is it better to Import everything? Or only the things you need indiviually? … -
Began Watching add em up revised
I have figured out how to do this. All that is needed is the .useDelimeter error. help? `import java.io.*;` `import java.util.*;` `public class AddEmUp `{` `public static void main(String args[]) … -
Replied To a Post in add em up revised
Please mark as Solved. Glad your issue was fixed. -
Gave Reputation to JamesCherrill in Converting Standard Form Quadratic to Vertex or Opposite
> If someone gives me a hand with doing standard to vertex, I should be able to do vertex to standard. This engaged my curiosity, and I found that vertx … -
Replied To a Post in Converting Standard Form Quadratic to Vertex or Opposite
Going to try to solve it tonight/tomorrow. Will post back soon with results. -
Replied To a Post in Converting Standard Form Quadratic to Vertex or Opposite
> I disagree absolutely. Splitting long methods into sub-methods can be a massive boost to readability and clarity. By delegating well-defined pieces of functionality to sub-methods a large multi-level problem … -
Replied To a Post in Converting Standard Form Quadratic to Vertex or Opposite
For something as basic as this, where it will only be called once every run, you don't need to have methods for it. Only if it could be called multiple … -
Began Watching water glass in java programming..
Should have the Menu: [1] Empty WaterGlass [2] Add Water [3] Remove Water [4] Display WaterGlass [5] Exit ** Note: The program will only end if the Exit Menu is … -
Replied To a Post in water glass in java programming..
You realize you posted 3 different threads for this? I'm pretty sure thats against the rules you agreed to when you signed up. Also, It is `REQUIRED` you post previous … -
Created Converting Standard Form Quadratic to Vertex or Opposite
So I just finished up a way to solve Standard Form Quadratic Equations, Now I want to code a way to automatically Convert a given Standard Form equation to Vertex … -
Began Watching Converting Standard Form Quadratic to Vertex or Opposite
So I just finished up a way to solve Standard Form Quadratic Equations, Now I want to code a way to automatically Convert a given Standard Form equation to Vertex … -
Marked Solved Status for Print Each Calculation in a Quadratic Equation
Alright so I'm coding a Quadratic Equation Solver to help with my Math Class. However the teacher requires each calculation to be written out. I have the solver working, however … -
Replied To a Post in Text Based Menu System
It's just being displayed to the console. public MenuItem(String text, boolean selectable) { id = id++; _text = text; _selectable = selectable; if(_selectable) System.out.println(_text + " <"); else if(!_selectable) System.out.println(_text); … -
Replied To a Post in Print Each Calculation in a Quadratic Equation
Alright, here is the code: package com.github.geodox.quadraticcalculator; import java.util.Scanner; public class QuadraticSolver { public static void main(String[] args) { Scanner s = new Scanner(System.in); //Declare Variables double a = 0; … -
Edited Print Each Calculation in a Quadratic Equation
Alright so I'm coding a Quadratic Equation Solver to help with my Math Class. However the teacher requires each calculation to be written out. I have the solver working, however … -
Replied To a Post in Text Based Menu System
Can you not just process them by calling their declared name? Makes sense. Would I just `implements KeyListener`? Then check against which key is pressed? -
Created Print Each Calculation in a Quadratic Equation
Alright so I'm coding a Quadratic Equation Solver to help with my Math Class. However the teacher requires each calculation to be written out. I have the solver working, however … -
Began Watching Print Each Calculation in a Quadratic Equation
Alright so I'm coding a Quadratic Equation Solver to help with my Math Class. However the teacher requires each calculation to be written out. I have the solver working, however … -
Replied To a Post in Java Beginner Caesar Cipher
Oh well, that may help in some way. Good luck with it! -
Replied To a Post in Java Beginner Caesar Cipher
You enter a number from 0 - 9 per character. There also is Encrypt and Decrypt methods that each can be called from arguments. And the text is there as … -
Began Watching Java Beginner Caesar Cipher
Hello, I'm trying to program a Caesar Cipher, but I keep getting weird errors. My input is not being handled correctly. I have no idea, i've tried different variations, but … -
Replied To a Post in Java Beginner Caesar Cipher
I just finished a ceasar cipher not too long ago. I'll give you my code for reference. package com.github.geodox.ceasarcipher; public class CeasarCipher { private static StringBuilder sb = new StringBuilder(); … -
Replied To a Post in Text Based Menu System
So this is what I have for MenuItem. Could you explain why you would add them to the ArrayList? package com.github.geodox.areacalculator.menu; public class MenuItem { private int id; private String … -
Replied To a Post in Blackjack in Java
Sorry about that, finally read it correctly. I thought you meant there was something wrong with doing a += operator directly to total. Yes, you're right, it is a good … -
Gave Reputation to fourty in How to get the hidden folder
Hi Mr. M, im using VS2013 and this code works fine whether the folder is hidden or not it'll tell you if it exists or not. Dim x = Microsoft.VisualBasic.FileIO.FileSystem.DirectoryExists("c:\test") … -
Gave Reputation to stultuske in Blackjack in Java
not so sure. can you add a print statement of total after this line: `total += rand.nextInt(11)+1;` it's better to declare hit outside the while though. -
Marked Solved Status for Blackjack in Java
I'm programming Blackjack and all is well, except after I type 'y' to hit again, the program terminates even though total is still less then 21. So my while statement … -
Replied To a Post in Text Based Menu System
I have a boolean as a requirement to set it to be selectable if its true. But where would I store that data? -
Created Text Based Menu System
What I want to do is add items to an ArrayList then print. Each item needs to either be selectable, or non selectable. The list needs to be interactable with … -
Began Watching Text Based Menu System
What I want to do is add items to an ArrayList then print. Each item needs to either be selectable, or non selectable. The list needs to be interactable with … -
Marked Solved Status for Each Item Prints null Except for Last
I created a custom 'text menu' that should print each String passed to it. This is the class: package com.github.geodox.areacalculator.menu; public class Menu { private static int index = 0; … -
Replied To a Post in Each Item Prints null Except for Last
Thank you! -
Began Watching Java projects for learners
I've opened this thread following rotten69's suggestion for "Java projects for beginners". To get things started I've posted a project in a format that makes sense to me; please feel … -
Replied To a Post in Java projects for learners
Keeping in mind with the aspect of "**for learners**", Here are some projects I started out with. **THESE ARE ALL TEXT BASED(NO GUI)** **Area Calculator** Calculate the area given the … -
Created Blackjack in Java
I'm programming Blackjack and all is well, except after I type 'y' to hit again, the program terminates even though total is still less then 21. So my while statement … -
Began Watching Blackjack in Java
I'm programming Blackjack and all is well, except after I type 'y' to hit again, the program terminates even though total is still less then 21. So my while statement … -
Created Each Item Prints null Except for Last
I created a custom 'text menu' that should print each String passed to it. This is the class: package com.github.geodox.areacalculator.menu; public class Menu { private static int index = 0; … -
Began Watching Each Item Prints null Except for Last
I created a custom 'text menu' that should print each String passed to it. This is the class: package com.github.geodox.areacalculator.menu; public class Menu { private static int index = 0; … -
Edited Ceasar Cipher Issues
Alright, so I have been coding a Ceasar Cipher in Java and I have the encrypting working, However, I cannot seem to find my problem decrypting. Here is the code, … -
Marked Solved Status for Ceasar Cipher Issues
Alright, so I have been coding a Ceasar Cipher in Java and I have the encrypting working, However, I cannot seem to find my problem decrypting. Here is the code, … -
Created Ceasar Cipher Issues
Alright, so I have been coding a Ceasar Cipher in Java and I have the encrypting working, However, I cannot seem to find my problem decrypting. Here is the code, … -
Began Watching Ceasar Cipher Issues
Alright, so I have been coding a Ceasar Cipher in Java and I have the encrypting working, However, I cannot seem to find my problem decrypting. Here is the code, …
The End.