Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~16.6K People Reached
Interests
Computer Repair, **Trying to learn how to code**, WoW
PC Specs
COOLER MASTER Storm Scout ASUS P7P55D EVO Intel Core i7-860 Lynnfield 2.8GHz SAPPHIRE Radeon HD 5830…
Favorite Forums

20 Posted Topics

Member Avatar for JamesCherrill

I am in my second Java class now(I'm a noob!) but our book and professors for the courses at my school use the first method that you have shown. So, that may explain some students doing that method. I like the second method better though.

Member Avatar for JamesCherrill
0
379
Member Avatar for pote86

I just started recently working with java and excel files(still learning), but I have not incorporated mySQL in it. But here are a couple basic sites for getting started with java and excel that I have found useful: [URL="http://www.vogella.de/articles/JavaExcel/article.html#createexcel"]http://www.vogella.de/articles/JavaExcel/article.html#createexcel[/URL] [URL="http://www.andykhan.com/jexcelapi/tutorial.html"]http://www.andykhan.com/jexcelapi/tutorial.html[/URL] Hope these help, I found them great for learning how …

Member Avatar for androidf
0
1K
Member Avatar for programing

If I am understanding your question correctly you just want the output to be the length of the string that the user enters? If so you do not need an array. Some of the problems I see is in line 14 you have declared an array of strings and then …

Member Avatar for stevanity
0
142
Member Avatar for pro_learner

Declare database too: [CODE]String db = "yourdatabase";[/CODE] and add database like seen here: [CODE]conn = DriverManager.getConnection (url + db, userName, password);[/CODE] Also, add port number and [CODE]e.printStackTrace()[/CODE] as mentioned above.

Member Avatar for harinath_2007
0
167
Member Avatar for javaNooblet

Hi All, If I read in from a file and populate an array with its data(all strings), how can I control the way it prints(to the console for example).Right now it just prints a huge long line in the console of all its contents. I figure I will have to …

Member Avatar for stultuske
0
267
Member Avatar for lbgladson

[QUOTE=lbgladson;1695362]I changed it to ActionListener but now I'm getting an error for ColorListener. What do I need to change that to?[/QUOTE] I think because your method in the ColorListener class is stateChanged(), make it actionPerformed().You can write this code with a lot less if you want. How I recommend doing …

Member Avatar for Ezzaral
0
5K
Member Avatar for Jessurider

I've never seen video do it, but facebook and iPhoto have facial recognition for photos, so I would think in theory if a video could be slowed to a very low fps then maybe a comparison could be done? Ok I googled it real quick, looks like they can do …

Member Avatar for Jessurider
0
95
Member Avatar for Daigan

Can you show the error please. Or post me your whole code, so I can check it out in my compiler.

Member Avatar for javaNooblet
0
138
Member Avatar for oddsocks

You need to store the values that you are taking in from the keyboard into the array.

Member Avatar for javaNooblet
0
106
Member Avatar for sidra 100

In line 3 you have if(if "condition". Don't think there should be two ifs there. You should not be testing a button group either. It is just something that can group radio buttons, checkboxes, etc... together. Test the individual checkbox/radiobutton(whatever you have) instead of the button group. Try something like: …

Member Avatar for javaNooblet
0
97
Member Avatar for ali11

This is the same code you posted before, with the same problems. You are not assigning a value to grade after initializing it, as already stated. Also, with what you have you are only going to be able to have a maximum of one grade entered.

Member Avatar for hfx642
0
148
Member Avatar for ali11

Ok I put your code in my compiler to see what it was doing. First off they way you have it written the user can only input 1 grade anyway, so no matter what score is entered it will only add one. So your output would only be something like: …

Member Avatar for Rzink92
0
137
Member Avatar for chriswinter
Member Avatar for hfx642
0
155
Member Avatar for javaNooblet

Hi all, I have a main GUI class as seen here: [CODE] import java.awt.*; import javax.swing.*; import javax.swing.border.*; /* * Class is to communicate with various other classes in the program to * create a roster for user based on their selection on GUI. */ public class MainGUI extends JFrame …

Member Avatar for stevanity
0
263
Member Avatar for pikalife

I did not see anything in the math class here, but you may want to double check: [url]http://download.oracle.com/javase/6/docs/api/java/lang/Math.html[/url] But if I'm correct f(x) = y is very vague and just means x=y because you are not actually giving us a function to apply to x. For example: We will use …

Member Avatar for hfx642
0
2K
Member Avatar for javaNooblet

Hi all, If I write a java program inside of eclipse, how can I run that program outside of it, rather than just hitting the run button in eclipse. So, I can give others the program to run on their computers. Thanks!

Member Avatar for javaNooblet
0
258
Member Avatar for javaNooblet

Hi All, I am currently trying to figure out to finish this project. Below is my code that I have so far. There are some blank methods that I am not sure where to even begin on how to complete them. I have a description of what the methods should …

Member Avatar for NormR1
0
2K
Member Avatar for javaNooblet

Hi All, The GUI works as intended to. But I was wondering if some of you java gurus could look over my code and maybe give me some tips on how I could have written this code better. Thanks! [B]GUI CLASS: [/B] [CODE]import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; …

Member Avatar for hfx642
0
229
Member Avatar for javaNooblet

Hi all, I am having trouble with class communication to reset some textfields through event handling. Any help would be appreciated. Here is a portion of my code. [B]The class that contains the textfields that I wish to use a reset button for:[/B] [CODE]import java.awt.*; import javax.swing.*; import javax.swing.border.*; public …

Member Avatar for mKorbel
0
215
Member Avatar for javaNooblet

Hi All, I was having trouble with getting my program to display all the necessary conversions. Here is a snippet of the code to help explain what I want to do: [CODE] private class CalcListener implements ActionListener{ public void actionPerformed(ActionEvent e){ String centInput, inchInput, meterInput, yardInput; double cent, inch, meter, …

Member Avatar for NormR1
0
4K

The End.