Search Results

Showing results 1 to 40 of 75
Search took 0.04 seconds.
Search: Posts Made By: iamthwee ; Forum: Java and child forums
Forum: Java May 28th, 2009
Replies: 6
Views: 676
Posted By iamthwee
It all depends, if you want a numerical analysis approach it is a piece of ****. i.e using the trapezium rule for integration.

Something more than that, such as mathematica's engine would be a lot...
Forum: Java Jan 15th, 2009
Replies: 4
Views: 1,184
Posted By iamthwee
Delete it.

Also consider formatting your code properly:


package employee_pay;

import java.util.Scanner;

public class pay
Forum: Java Feb 3rd, 2008
Replies: 1
Views: 1,763
Posted By iamthwee
Why are you using a 2d array?

A class would be perfect here.
Forum: Java Jan 10th, 2008
Replies: 19
Solved: Homework help
Views: 1,751
Posted By iamthwee
So print a single space instead of a 'O'. You know how to do that right?


import java.util.*;
public class Crap
{
public static void main ( String[] args )
{
String[][] matrix =
...
Forum: Java Dec 17th, 2007
Replies: 6
Views: 1,025
Posted By iamthwee
So is your class file in the same directory as your htm file?
Forum: Java Dec 9th, 2007
Replies: 10
Views: 2,331
Posted By iamthwee
Nope, it proposed installing the java vitual machine, I proposed using the java virtual machine. :)
Forum: Java Dec 9th, 2007
Replies: 10
Views: 2,331
Posted By iamthwee
Yes you can, just install the java virtual machine.
Forum: Java Dec 9th, 2007
Replies: 14
Views: 6,550
Posted By iamthwee
Why can't you just prompt for user input within the for loop?
Forum: Java Nov 24th, 2007
Replies: 7
Views: 4,385
Posted By iamthwee
>Now, my problem starts when I ask for the town to look for, since there are two-word towns (e.g. San Juan).

It's pretty simple. Read in the file as lines.

Take that line, assign it to a...
Forum: Java Nov 18th, 2007
Replies: 7
Views: 1,310
Posted By iamthwee
which one are you trying to do the Sierpinski Triangle?
Forum: Java Nov 16th, 2007
Replies: 2
Views: 2,931
Posted By iamthwee
Don't put conditions in for loops... Personally, I don't like how they read. It can be non-intuitive sometimes.
Forum: Java Nov 10th, 2007
Replies: 15
Views: 1,867
Posted By iamthwee
>is reassembled and bugged as below
Shouldn't you try and debug it then?
Forum: Java Oct 27th, 2007
Replies: 3
Solved: java---->c++
Views: 914
Posted By iamthwee
>How do i convert the following code to C++?

With ease if you are me.
Forum: Java Oct 26th, 2007
Replies: 7
Views: 1,407
Posted By iamthwee
You talking about tiger on the mac?



That looks cheesy. I would laugh if someone used that in their university project.
Forum: Java Oct 24th, 2007
Replies: 7
Views: 1,407
Posted By iamthwee
Add this to your code:

http://www.iam.ubc.ca/guides/javatut99/uiswing/misc/plaf.html

I know it works because I've used it myself with netbeans.
Forum: Java Oct 5th, 2007
Replies: 5
Views: 721
Posted By iamthwee
google multiplication table java

http://www.cs.utsa.edu/~wagner/CS1713/mult/mult.html
Forum: Java Oct 5th, 2007
Replies: 5
Views: 721
Posted By iamthwee
You will need a nested for loop. Which one inside the other.
Forum: Java Sep 30th, 2007
Replies: 4
Views: 7,148
Posted By iamthwee
Using an array isn't needed here. It unnecessarily adds to the space complexity problem.
Forum: Java Sep 30th, 2007
Replies: 2
Solved: simple call
Views: 636
Posted By iamthwee
What? Is that your entire code?
Forum: Java Sep 29th, 2007
Replies: 4
Views: 7,148
Posted By iamthwee
Draw a flow chart first!
Forum: Java Sep 23rd, 2007
Replies: 22
Views: 2,303
Posted By iamthwee
>Is there any other way where I can edit a table?

I don't think so...

You probably need to pipe out all the information from the table to an array or text file then delete that table then add...
Forum: Java Sep 20th, 2007
Replies: 7
Solved: Parsing
Views: 1,013
Posted By iamthwee
Erm maybe because 08765 isn't an integer?
Forum: Java Sep 14th, 2007
Replies: 5
Views: 9,021
Posted By iamthwee
Why are you reading it as bytes.Read and write it as strings you hear me!
Forum: Java Sep 10th, 2007
Replies: 9
Views: 3,974
Posted By iamthwee
Oppsie, I misunderstood you, I thought you was asking how to get your button to show text, i.e create an event handler. :D
Forum: Java Sep 10th, 2007
Replies: 9
Views: 3,974
Posted By iamthwee
A good book is a good reference though, and you can always use that with help forums as well.
Forum: Java Sep 10th, 2007
Replies: 9
Views: 3,974
Posted By iamthwee
> where do I fit that code into my code iamthewee?

You need to create an event handler for the button. Maybe if I point you to a few tutorials kimmie....
Forum: Java Sep 10th, 2007
Replies: 9
Views: 3,974
Posted By iamthwee
maybe?
http://examples.oreilly.com/jswing2/code/ch05/FancyButton.java
Forum: Java Sep 10th, 2007
Replies: 9
Views: 3,974
Posted By iamthwee
I don't think you would use buttons if you want to do that?
Forum: Java Sep 10th, 2007
Replies: 6
Views: 1,954
Posted By iamthwee
(num1,num2,num2));
Forum: Java Sep 9th, 2007
Replies: 6
Views: 1,954
Posted By iamthwee
>return Math.max(n1,Math.max(n2,n3));

What happens if you break that down.

int one = 0;
int two = 0;

one = Math.max(n2,n3);

two = Math.max(n1,one);
Forum: Java Sep 9th, 2007
Replies: 6
Views: 1,954
Posted By iamthwee
> the commented part is working perfectly (Line 19, 26), it can return the highest value...

Is it? If I remember correctly, finding the maximum of three numbers using only if statements is quite...
Forum: Java Sep 4th, 2007
Replies: 3
Solved: build/classes
Views: 1,021
Posted By iamthwee
Why should we download a zip file that may contain anything from someone with only one post?

Try posting your source codes...
Forum: Java Aug 18th, 2007
Replies: 10
Views: 4,276
Posted By iamthwee
What don't you understand. Be more specific.
Forum: Java Aug 11th, 2007
Replies: 2
Views: 6,679
Posted By iamthwee
http://www.jguru.com/faq/view.jsp?EID=422110
http://www.rgagnon.com/javadetails/java-0114.html
Forum: Java Aug 5th, 2007
Replies: 3
Views: 688
Posted By iamthwee
Do you not have your class notes to read?
Forum: Java Jul 24th, 2007
Replies: 37
Views: 3,958
Posted By iamthwee
I would just use eclipse to make a GUI it is easier and more reliable.
Forum: Java Jul 15th, 2007
Replies: 8
Views: 1,068
Posted By iamthwee
What are you trying to do your code makes little sense?
Forum: Java Jul 15th, 2007
Replies: 37
Views: 4,772
Posted By iamthwee
Another point worth considering, is that you can interface your existing classes with the ArrayList.

That should afford greater flexibility in regards to adding, removing and storing custom...
Forum: Java Jul 13th, 2007
Replies: 37
Views: 4,772
Posted By iamthwee
>but I cannot find any examples of such a beast for me to learn and build off

There are so many, are you sure you have looked hard enough?
Forum: Java Jul 12th, 2007
Replies: 37
Views: 4,772
Posted By iamthwee
hint:is that how you declare an array in java? Or is it an array

String cdName[];
Showing results 1 to 40 of 75

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC