-
Created 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 … -
Began Watching 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 … -
Began Watching Need help with user-defined size of arrays using the for loop
Hey guys! I'm writing this really long code for practice. Got really rusty with Java so I gotta get brain working again. Anyway, the first part of the code asks … -
Replied To a Post in Need help with user-defined size of arrays using the for loop
Slavi, Understandably you might wanna go for an arraylist. However in this case it isn't necessarily needed. Check JeffGrigg's reply for something that works using the setup laguardian is using. -
Gave Reputation to jeffersonalomia in Need help with user-defined size of arrays using the for loop
int [] arrayEmp=new int[numEmp] -
Began Watching static list
It's not really a problem that I am facing, more like looking for explanation ... I had this import java.util.*; import java.io.*; public class ReadFile { private static int lines=0; … -
Replied To a Post in static list
A general rule I follow by, is that the only thing needed in main is a call to create a new instance of the class. That way I can keep … -
Replied To a Post in Create a BankAccount class that has the following:
You have to create that class. The instructions tell you what to do in it. -
Replied To a Post in VoIP in Java
Honestly I had to manually create it. In code I haven't specified a file format, I assume I have to do that? Any ideas? -
Replied To a Post in VoIP in Java
Alright, I did what you recommended and ended up writing 1.34MB of audio to an mp3 file. The file will not play in any audio programs. Which in a way … -
Replied To a Post in VoIP in Java
This is actually the bare essentials in the Sound class for reading audio into a file. I don't believe the code is even being touched. I was just showing an … -
Began Watching Compile question, command line
I have two classes that I am compiling from command line. One is Vehicle class, class Vehicle{ int passangers; int fuelcap; int mpg; } and another is VehicleDemo class. This … -
Replied To a Post in Compile question, command line
Yes, and yes! -
Replied To a Post in VoIP in Java
Think I got something happening, although I am really not sure. I created a Sound class, shown below, thats used to record audio. The program is not doing anything however. … -
Replied To a Post in Create a BankAccount class that has the following:
Watch a few java tutorial videos, get the knowledge back of basic things, syntax, formatting, etc until you feel comfortable with it. Then write what you can till you get … -
Began Watching Create a BankAccount class that has the following:
I am honestly stumped. I need to Create a BankAccount class that has the following: a) Instance variables for: name, accountNumber, balance, typeOfAccount b) Accessor/mutator method for each instance variable … -
Replied To a Post in Create a BankAccount class that has the following:
Always post your code of what you've done so far when you say you're stuck or not sure what to do next. We can't help you if we haven't seen … -
Began Watching GridBagLayout - Problem resizing
OK, I have been experimenting around with GridBagLayout and I'm getting the hang of it. Things are looking the way I want them to on the INITIAL drawing of the … -
Replied To a Post in GridBagLayout - Problem resizing
Antonio, although your solution may help, the thread is over 5 years old. Therefore your solution no matter how good it is, is useless now. When you post in a … -
Replied To a Post in VoIP in Java
Will it work if I pass what I mentioned earlier? -
Replied To a Post in VoIP in Java
JC, honestly I'm a little confused reading that. -
Replied To a Post in VoIP in Java
Hey Slavi, thanks for posting, however I'm trying to use relative paths and I have to load an input stream. So the way I'm doing it works best, but the … -
Replied To a Post in VoIP in Java
Alright so from what I have found after a while of searching, after no luck with what the structure should look like in the parameter, is that you don't pass … -
Replied To a Post in VoIP in Java
I really should check the API first... Oops. I will check out the API to check how to code the path. About Sudoku, I think I'm gunna put that on … -
Replied To a Post in VoIP in Java
The NPE error is still unresolved if anyone has some idea's as to what exactly is throwing the NPE. -
Began Watching Starting App in Java
Hi everyone, this is my first post here. I am new to Java. I understand it when I see it, but writting it is difficult for me. That is for … -
Replied To a Post in Starting App in Java
Start with something else first. Watch a tutorial series to help you get started, code along with the videos and understand the code. After you understand the syntax and the … -
Replied To a Post in Java projects for learners
Hey Slavi! Much appreciated that someone thinks what I am doing is pretty cool. So Kudos for that. Heres some more projects. **Number Game** I believe someone posted this here … -
Replied To a Post in VoIP in Java
Still getting an NPE. Line 98: InputStream is = getClass().getResourceAsStream("/Resources/Servers.txt"); Line 99: System.out.println(is.toString()); Line 100: InputStreamReader reader = new InputStreamReader(is); Error: Exception in thread "main" java.lang.NullPointerException at com.geodox.teamvoip.main.ServerOptions.populateServers(ServerOptions.java:99) at com.geodox.teamvoip.main.ServerOptions.initGUI(ServerOptions.java:53) … -
Replied To a Post in VoIP in Java
Ran into a frustrating issue that SHOULD be easy to solve. `File file = new File(TeamVoIP.class.getResource("/Resources/Servers.txt").toString());` crashes with an NPE. -
Replied To a Post in VoIP in Java
[AudioInputStream](http://docs.oracle.com/javase/7/docs/api/javax/sound/sampled/AudioInputStream.html) -
Replied To a Post in VoIP in Java
So basically, record it, then send it? I'm trying to think of how you would record it to a file, and send the file in real time. -
Replied To a Post in VoIP in Java
Why not just send the audio right over the stream? Of course after compressing it which is another thing. -
Replied To a Post in VoIP in Java
Alright, I want to basically have a "group call" similar to Ventrilo. I want to attempt this using standard libraries first and I want to give it a shot regardless … -
Replied To a Post in Sudoku Solver
Yeah, but that requires different code which could be broken down a bit, but it would just be more confusing I think. Nice catch! I'll just have to skip when … -
Began Watching command line argument in java
what is command line argument in java and how it is work public static void main(String []args){ for (int i = 0; i < args.length; i++) System.out.println(args[i]); and what is … -
Replied To a Post in command line argument in java
length() is actually a method inside of all Arrays. It returns how many values are stored inside of the Array. The for loop is necessary in that example, however because … -
Replied To a Post in Sudoku Solver
Alright, I decided to keep it my way after endlessly trying to understand to no avail. I think I have a working method(untested) for testing rows, column is as easy … -
Replied To a Post in VoIP in Java
I might give it a shot. I have done some research on this myself and I came across something called an SIP library or something like that. I would rather … -
Created VoIP in Java
A couple questions before I even attempt this project... Is it possible to create a VoIP application in Java? Is it posssibe to do this using standard libraries? If you … -
Began Watching VoIP in Java
A couple questions before I even attempt this project... Is it possible to create a VoIP application in Java? Is it posssibe to do this using standard libraries? If you … -
Replied To a Post in Sudoku Solver
Hey guys, sorry for not replying right away. I'm currently busy with personal life. But after reading all the replies and understanding almost none of it, I've thought about what … -
Replied To a Post in Sudoku Solver
I trust you're new solution, however I'm having trouble understanding it. I don't understand why you set it up like 'int[27][9] allRCBs' or how that's a better way. I understand … -
Replied To a Post in Sudoku Solver
**Part 2 - Checking for Validity** This part is confusing and I will require some help. I know in Sudoku there is 9 Blocks, in a 3x3 Grid, each containing … -
Replied To a Post in Sudoku Solver
**Part 1 - Getting the Board** I will use a 2D array for my board. *This step is done.* -
Created Sudoku Solver
**Sudoku Solver** I am writing a program to solve Sudoku Puzzles. This thread will contatin my progress throughout the project and hold any questions and replies. -
Began Watching Sudoku Solver
**Sudoku Solver** I am writing a program to solve Sudoku Puzzles. This thread will contatin my progress throughout the project and hold any questions and replies. -
Replied To a Post in Lack of Mobile Support
Much appreciated for the tip! Thanks Dani! -
Marked Solved Status for 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 … -
Created 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 …
The End.