Search Results

Showing results 1 to 40 of 177
Search took 0.12 seconds.
Search: Posts Made By: majestic0110
Forum: Java 7 Days Ago
Replies: 15
Views: 564
Posted By majestic0110
You had better get started then, saturday is tomorrow! James, if you were to charge $50/hour you'd only get about 3 bucks for that lol
Forum: Java Oct 18th, 2009
Replies: 7
Solved: Java Scanners
Views: 373
Posted By majestic0110
Take a look at Line 23 where you declare the int variable vacation. This variable is declared within the body of a conditional statement, which means its lifespan is confined to that conditional...
Forum: Java Oct 16th, 2009
Replies: 11
Views: 397
Posted By majestic0110
here (http://java.sun.com/docs/books/tutorial/uiswing/events/actionlistener.html)
Forum: Java Oct 7th, 2009
Replies: 4
Views: 342
Posted By majestic0110
nomemory means compile the classes then run TestCircle. You cannot run Circle directly as it has no main method. main is the entry point for you program. As nomemory said, don't skip the basics....
Forum: Java Oct 3rd, 2009
Replies: 4
Views: 342
Posted By majestic0110
Take a look at line 91:

mbar.add(mnuHelp);

mnuHelp has NOT been initialized, so you will get a Null Pointer Exception. To rectify this, initialize mnuHelp where you initialize the other two...
Forum: Java Oct 3rd, 2009
Replies: 4
Views: 342
Posted By majestic0110
What is the exact error message? Is it a compilation error? Or a runtime exception you are encountering?
Forum: Java Oct 3rd, 2009
Replies: 11
Views: 418
Posted By majestic0110
You could use the escape sequence "\n" after you print out the 4th element in the array? Or use just System.out.println(); after the 4th element has been printed.
Forum: Computer Science Oct 2nd, 2009
Replies: 2
Views: 337
Posted By majestic0110
Oh dear, it really is one of those days.
Forum: Java Sep 30th, 2009
Replies: 3
Solved: Check Code
Views: 277
Posted By majestic0110
You have not specified a constructor for class Complex that accepts two doubles as parameters. There are two things you could do:

1- Rename void "setValue" to "public Complex" and give the Complex...
Forum: Java Sep 29th, 2009
Replies: 4
Views: 226
Posted By majestic0110
You are welcome, it's often the obvious things that we all miss! Please mark the thread as solved!
Forum: Java Sep 29th, 2009
Replies: 4
Views: 226
Posted By majestic0110
On line 15, you are parsing the user input to an integer, and integers do not function with decimals. Parse the input string to a double:

double mileage = Double.parseDouble(mileageInput);
Forum: Java Sep 27th, 2009
Replies: 2
Views: 367
Posted By majestic0110
I wrote a paint application quite recently in Java actually, if you are willing to show effort and make a start - then you could come back with specific questions. I, and my peers will no doubt be...
Forum: Java Sep 27th, 2009
Replies: 2
Views: 326
Posted By majestic0110
As quuba said, you have declared panelCenter2 but you are still adding the JButtons jn4, jn5 and jn6 to panelCentre1 - which is positioned using BorderLayout.CENTER. Hence why your last three buttons...
Forum: Python Sep 27th, 2009
Replies: 7
Views: 856
Posted By majestic0110
Hi there, I have found a really good link on how to read a file in Python in various ways:

here (http://www.java2s.com/Tutorial/Python/0240__File/Demonstratesreadingfromatextfile.htm)

I hope...
Forum: Java Sep 22nd, 2009
Replies: 6
Views: 391
Posted By majestic0110
Ok the problem there is that you have not initialized the variable MenuBar before you call the method buildMenus() on it, therefore you get a null pointer exception. You need to initialize MenuBar...
Forum: Java Sep 22nd, 2009
Replies: 6
Views: 391
Posted By majestic0110
You need to add:

notepadFrame.add(MenuBar);

before you set notepadFrame.setVisible(true);. This adds the MenuBar to the Frame.
Forum: Java Sep 22nd, 2009
Replies: 6
Views: 391
Posted By majestic0110
Peter_budo you beat me to it! :) Kahaj, what you could do is :

declare and initialize MenuBar as a class field, instead of a local variable in method buildMenus() :

JMenuBar MenuBar;

you can...
Forum: Java Sep 22nd, 2009
Replies: 4
Views: 434
Posted By majestic0110
lol thanks for that Jasimp, silly me! :)
Forum: Java Sep 22nd, 2009
Replies: 4
Views: 434
Posted By majestic0110
You need to add ItemListener to your combo-box. The sun tutorial is brilliant, look here :

http://http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html

I hope that helps!
...
Forum: C# Sep 10th, 2009
Replies: 16
Views: 693
Posted By majestic0110
Forum: C# Sep 10th, 2009
Replies: 16
Views: 693
Posted By majestic0110
You are trying to call a constructor that doesn't exist. Try changing:

matrix[i - 1, j] = new bool(temp);

to

matrix[i - 1, j] = //True or false
Forum: C# Sep 10th, 2009
Replies: 16
Views: 693
Posted By majestic0110
What is the classname that is listed in the error message?



is the error message number CS0143?
Forum: C# Sep 10th, 2009
Replies: 16
Views: 693
Posted By majestic0110
Can you post the code where you instantiate an object of Field class?
Forum: Java Sep 10th, 2009
Replies: 3
Views: 266
Posted By majestic0110
Hi kkcaddy, you need to add the .java extension to the javac command in order to compile a java file. I.e:



then you can run the file by using the java command like so:



You can find more...
Forum: Java Sep 10th, 2009
Replies: 1
Views: 243
Posted By majestic0110
You need the JVM to execute Jar files. The JVM is part of the JRE (Java Runtime Environment) or JDK (Java Development Kit). Only Java developers will need the JDK though, so if you just want to run a...
Forum: Geeks' Lounge Jun 28th, 2009
Replies: 75
Views: 4,997
Posted By majestic0110
Forum: ASP.NET Dec 22nd, 2008
Replies: 10
Solved: Simple program
Views: 1,559
Posted By majestic0110
Hmm try this Sonia :
Are you using a Computer at work? You may need to speak to your system administrator as you might not have sufficient privileges to open admin tools. HTH
Forum: ASP.NET Jun 19th, 2008
Replies: 2
Solved: image button
Views: 1,495
Posted By majestic0110
Have you defined (in your ASPX code) the "onclick event" as 'SubmitACH_Click'? I see that you have defined it. Have you solved this ?
Forum: DaniWeb Community Feedback Jun 3rd, 2008
Replies: 2
Views: 782
Posted By majestic0110
ooooh sarcasm lol. Like it!
Forum: ASP.NET Jun 2nd, 2008
Replies: 6
Views: 990
Posted By majestic0110
Nice one, have been trying to find some help for you. So I take it that it all works fine now?
Forum: ASP.NET May 29th, 2008
Replies: 6
Views: 990
Posted By majestic0110
Hi there Fungus1487. Hmmm, I have not tried this before myself but I think the answer may lie in this article:



Hope that helps. Its a rather large article I am afraid but deals with accessing...
Forum: C# May 23rd, 2008
Replies: 3
Views: 1,110
Posted By majestic0110
You are welcome :) glad the link was useful!
Forum: C# May 23rd, 2008
Replies: 6
Views: 3,764
Posted By majestic0110
Did this solve your issue? If it did could you mark the thread as solved please so that others know it is solved!:)
Forum: C# May 23rd, 2008
Replies: 3
Views: 1,110
Posted By majestic0110
Hi again knoweldgelover, this link may help you out somewhat:


Hope this helps
Forum: Game Development May 23rd, 2008
Replies: 11
Views: 2,031
Posted By majestic0110
I hadn't realised those questions were for a job interview :-/ The OP had said they were questions for a nephew :-/
Forum: Game Development May 22nd, 2008
Replies: 11
Views: 2,031
Posted By majestic0110
No problems, hope it helps! Please don't forget to mark the thread as solved if you feel you got an adequate solution!
Forum: ASP.NET May 22nd, 2008
Replies: 7
Views: 10,134
Posted By majestic0110
hmmmm are you sure that gives a dialog pop up? Try this one:
Forum: ASP.NET May 22nd, 2008
Replies: 7
Views: 10,134
Posted By majestic0110
Hi there Rakesh here is a great site that fully explains how to open a PDF without the dialog box:



I hope this helps! Please don't forget to mark the thread as solved!:)
Forum: Game Development May 22nd, 2008
Replies: 11
Views: 2,031
Posted By majestic0110
Hi there ddimon, welcome to DaniWeb! I am not a games developer myself but work in the software development field. I can confidently answer some of those questions but others I am a little less...
Forum: ASP.NET May 22nd, 2008
Replies: 4
Solved: Panel
Views: 638
Posted By majestic0110
Great link there nandhinijp I have found another that plusplus might like to take a look at:
http://www.w3schools.com/ASPNET/control_panel.asp
Showing results 1 to 40 of 177

 


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

©2003 - 2009 DaniWeb® LLC