Search Results

Showing results 1 to 40 of 50
Search took 0.01 seconds.
Search: Posts Made By: Dark_Omen ; Forum: Java and child forums
Forum: Java Nov 9th, 2006
Replies: 1
Views: 1,101
Posted By Dark_Omen
Can you clarify what you are asking?
Thanks
Forum: Java Oct 31st, 2006
Replies: 7
Views: 2,537
Posted By Dark_Omen
No I think you're mistaken, no one is gonna give you an idea, you have to come up with one on your own.
Forum: Java Oct 16th, 2006
Replies: 2
Views: 1,979
Posted By Dark_Omen
Isn't most of swing built on top of AWT, so essentially if you use swing you're using both.
Forum: Java Oct 13th, 2006
Replies: 3
Views: 1,569
Posted By Dark_Omen
What are the errors you are recieving if any, or is it just not doing what you want it to do.
Forum: Java Oct 2nd, 2006
Replies: 2
Views: 3,445
Posted By Dark_Omen
what exactly are you having problems with?
Forum: Java Sep 21st, 2006
Replies: 5
Views: 2,146
Posted By Dark_Omen
look at what I said, . Note keywords might, and glanced over it quickly. Just trying to help out the google impaired. TY
Forum: Java Sep 20th, 2006
Replies: 5
Views: 2,146
Posted By Dark_Omen
this might be good, didn't really read it just glanced quickly at it http://www.javaworld.com/jw-03-2000/jw-03-xmlsax.html .
But for more information try this....
Forum: Java Sep 20th, 2006
Replies: 7
Views: 2,723
Posted By Dark_Omen
There is a string method charAt that you can use to do it without arrays.
So:

for(int i = s.length(); i >=0; i--){
System.out.print(s.charAt(i);
}
System.out.println();
Forum: Java Sep 20th, 2006
Replies: 6
Views: 5,251
Posted By Dark_Omen
Well it should be the way you format the output string, so someone enters a 4 and it prints out a triangle with a height of 4, so for the top you would print out System.out.print 3 times (n-1) (which...
Forum: Java Sep 18th, 2006
Replies: 1
Views: 941
Posted By Dark_Omen
Have no modifiers, so basically it's just a class that holds values (i'm guessing) and you can use them, also you can use the final keyword on the variables so they can't be changed, hope that helps.
Forum: Java Jul 25th, 2006
Replies: 1
Views: 957
Posted By Dark_Omen
congratulations!?!??...
Forum: Java Jul 21st, 2006
Replies: 3
Views: 2,292
Posted By Dark_Omen
You should look into Killer Game Programming in Java, it is good:
http://www.amazon.com/gp/product/0596007302/102-1076836-1048938?v=glance&n=283155
Forum: Java May 22nd, 2006
Replies: 9
Views: 1,645
Posted By Dark_Omen
Once you read in the data, go string by string and use StringTokenizer to get each element of the line, and depending on which token it is test it with the right data (meaning the data for the...
Forum: Java May 22nd, 2006
Replies: 4
Views: 1,027
Posted By Dark_Omen
I would have went with B because actionlistener is listening for events during an execution like button clicks etc...
WindowListener listens for changes to the window like size and stuff:...
Forum: Java May 11th, 2006
Replies: 3
Views: 4,214
Posted By Dark_Omen
Here is a way that you can do it:


public class Decifrac{
public static void main(String[] args){
int a = 9;
int b = 8;
double c = ((a * 1.0)/b) ;
System.out.println("You...
Forum: Java May 8th, 2006
Replies: 3
Views: 5,173
Posted By Dark_Omen
Forum: Java May 8th, 2006
Replies: 3
Views: 5,173
Posted By Dark_Omen
Hello,

I was wondering if there was a way to find how many lines there are in a text file, and if so can you find out how many lines in the text file start with a particular word (an identifier)....
Forum: Java May 3rd, 2006
Replies: 4
Views: 1,574
Posted By Dark_Omen
Forum: Java Apr 18th, 2006
Replies: 5
Views: 1,721
Posted By Dark_Omen
Well I did try to use javadoc through using the command line in Dos, and it gave me the same error, not really an issue of eclipse, something wrong with javadoc. And after unistalling everything and...
Forum: Java Apr 17th, 2006
Replies: 6
Views: 19,230
Posted By Dark_Omen
Ok, yeah, so it is kind of like a permutation of the numbers.
So, think of the base case and recursive case. So the base case is when there is 1 value left, and the recursive case takes out one of...
Forum: Java Apr 17th, 2006
Replies: 6
Views: 19,230
Posted By Dark_Omen
You want to use a StringTokenizer. So and them together.
So:

String head = "47 23 2 5 98";
String returnHead = "";
StringTokenizer s = new StringTokenizer(head, " ");
while(s.hasNextToken()){...
Forum: Java Apr 17th, 2006
Replies: 5
Views: 1,721
Posted By Dark_Omen
Well apparently this happens to some people, and no one seems to have an answer except to install Java 1.4.2_11 SDK and use its javadoc, which should work. I did that and it javadoc works fine for me...
Forum: Java Apr 14th, 2006
Replies: 2
Views: 1,142
Posted By Dark_Omen
I dont know if this is the right place for you to be posting this. But search google for a cell modding forum, I know there is one somewhere, that might have more information on what you are trying...
Forum: Java Apr 12th, 2006
Replies: 5
Views: 1,721
Posted By Dark_Omen
this is the error report from eclipse:

Loading source file C:\Documents and Settings\myname\workspace\text Scrambling Meme\Disk.java...

Constructing Javadoc information...

Standard Doclet...
Forum: Java Apr 12th, 2006
Replies: 5
Views: 1,721
Posted By Dark_Omen
Hello everyone,

I am having trouble getting my Javadoc to work. It runs but it doesn't show anything in the HTML file that it creates. BTW I am using java 1.5.0_6 and I am using the latest...
Forum: Java Apr 9th, 2006
Replies: 3
Views: 4,681
Posted By Dark_Omen
I actually found a better way to do this problem, less chaotic as the way I was doing it.
Here is the source for it:

public class StringPerm {
private int count = -1;
private int...
Forum: Java Apr 7th, 2006
Replies: 2
Views: 1,251
Posted By Dark_Omen
What are you trying to do exactly. Are you doing a console app with JOption pane that will write to the console or do you want it to show up on like a GUI?, both are pretty simple. If you are just...
Forum: Java Mar 29th, 2006
Replies: 4
Views: 2,830
Posted By Dark_Omen
Forum: Java Mar 29th, 2006
Replies: 9
Views: 8,533
Posted By Dark_Omen
these two pages from the Java API should help you figure out how to change the cursor. Just make a mouselistener for the area that you want the cursor to change and change the attributes of the...
Forum: Java Mar 29th, 2006
Replies: 4
Views: 2,830
Posted By Dark_Omen
first, you have a lot of if/else statemets that go on for more then 1 line so you need brackets. I ususual bracket no matter what just to be on the safe side. Another thing with the return...
Forum: Java Mar 29th, 2006
Replies: 2
Views: 4,854
Posted By Dark_Omen
o yeah, you can also look at the java api, it's very useful to figure out how to make objects work.
Here is the one for the listbox:
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/List.html
Forum: Java Mar 29th, 2006
Replies: 2
Views: 4,854
Posted By Dark_Omen
Have to add an eventListener to your code so you can use it.
Take a look at my calc app i made for a project, I used a listbox.
Forum: Java Mar 29th, 2006
Replies: 3
Views: 4,681
Posted By Dark_Omen
Hi, i was writing a program to make permutations of strings, but I ran into a snag and can't figure out what's wrong. It prints out the permutated strings, but some of them are duplicates.
I...
Forum: Java Jan 6th, 2006
Replies: 3
Views: 1,819
Posted By Dark_Omen
Forum: Java Jan 5th, 2006
Replies: 3
Views: 1,819
Posted By Dark_Omen
I was wondering if it would be possible to access the contacts list for a particular user over a pop server. Does anybody know if this is possible?

Thanks
Forum: Java Dec 8th, 2005
Replies: 1
Views: 13,643
Posted By Dark_Omen
Is there a way to convert a double to string. I tried to do it like this x.toString() and it didnt work as well as implicitly converting it.
Forum: Java Oct 13th, 2005
Replies: 4
Views: 1,527
Posted By Dark_Omen
yeah that's what i did but not wat i was having a problem with, but it was a stupid error and i thought it was with the if statement.
Forum: Java Oct 5th, 2005
Replies: 4
Views: 1,527
Posted By Dark_Omen
Ok, problem solved, it wasn't the if statement, I was actually incrementing the years twice so it was giving me some funky data, and the second incrementation was done in a weird place so I didn't...
Forum: Java Oct 4th, 2005
Replies: 4
Views: 1,527
Posted By Dark_Omen
Hello,

I am having a problem with %. I am trying to find all the years from 1628 to 2005 that are divisible by 15, so I did this:

if((year % 15 == 0) || (year % 100 == 0) || (year == 2005)){...
Forum: Java Sep 15th, 2005
Replies: 8
Views: 4,306
Posted By Dark_Omen
OK i got it, in the internet controls, where you can check off the options there was a check box for it that was un checked.
Showing results 1 to 40 of 50

 


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

©2003 - 2009 DaniWeb® LLC