Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~4K People Reached
About Me

Telecom Engineer

Favorite Tags
java x 22
perl x 4

16 Posted Topics

Member Avatar for server_crash

What you would need to do (from the top of my head) is to see if the lefthand factor (i in your example) matches the previous righthand factor (j in your ex.). As soon as i matches the j, we are finding the mirrors of the previously found factors and …

Member Avatar for Momerath
0
161
Member Avatar for ajay_p5

[QUOTE=ajay_p5;1019844]Hi, Well I am getting this warning while running my script which is attached:Use of uninitialized value in concatenation (.) or string at aj.pl in this line : print OUTFILE"$address[$k]|" as when i remove this line I don't get any warnings: Can someone please tell me what is wrong with …

Member Avatar for ajay_p5
0
227
Member Avatar for The Dude

So i'm 'The Emperor' which sounds OK. (Hmm, need to update my chef about my newly aquired status.) Nice, but what do i do with all that responsibility 8-)

Member Avatar for DeepZ
0
46
Member Avatar for ELHEK

OK, as i was bored i had a quick look. In GuessWord.java you have : [code] private String[] hiddenWord = new String[word.length()]; [/code] This is a instance variable which is created as the constructor executes but BEFORE any parameters have been initialised, so 'word' does not exist here. [null exception] …

Member Avatar for DeepZ
0
221
Member Avatar for mohamad11

Well, the JVM is telling you that the last 4 characters of your string are not a number. So....

Member Avatar for aniseed
0
420
Member Avatar for nabil1983
Member Avatar for nabil1983

The easiest way for this, and i think the most used, is to create an instance of your class and run the methods using that. So it would be something like : [code] public class Schedule { Vector ch1Time = new Vector(); Vector ch2Time = new Vector(); //Default constructor public …

Member Avatar for DeepZ
0
223
Member Avatar for sunny82

Right you are. As far as i can see you are missing a closing brace just before public void makedeposit, leading the compiler to think you are defining a method inside another method. Tnx

Member Avatar for sunny82
0
195
Member Avatar for nabil1983

I assume you have problems with this bit : [code] class MenuListener implements ActionListener{ public void actionPerformed (ActionEvent e){ if(e.getSource() == displaySchedule){ Database.viewAll(); } else if(e.getSource() == displayAll){ textField.setText("Open an existing file"); } [/code] you call 'Database.viewAll();' which is a call to a static method in the Database class. However …

Member Avatar for DeepZ
0
185
Member Avatar for K.Duncan

I think the problem is that : [code] public void Complex(double x, double y) [/code] is not a constructor. A constructor does not have a return type, and yes, even void is a return type. Change to : [code] public Complex(double x, double y) [/code] and it should work, i …

Member Avatar for DeepZ
0
167
Member Avatar for freesoft_2000

[QUOTE=freesoft_2000]Hi everyone, I do instantiate the object and cast it to a document and set it to a JTextPane. But before i can do that i run out of memory although there is more than enough memory. There has to be way to do this Richard West[/QUOTE] Well, there may …

Member Avatar for DeepZ
0
321
Member Avatar for apcxpc

From the top of my head, you should set the caret position after you update the text : jta.append("Some text!"); jta.setCaretPosition(jta.getText().length()); Have fun.

Member Avatar for jwenting
0
392
Member Avatar for jengels

[QUOTE=jengels]I'm supposed to write a loop to loop through the days, the write a switch statement for the verses. The program should print out just like the song goes. For example: On the 1st day of xmas my true love gave to me, a partidge in a pear tree On …

Member Avatar for jengels
0
133
Member Avatar for the b

You provided a constructor (Which btw should have method brackets behind it) but you do not create an object of the class, so there are no variables to work with. What you want is something like this : [code] public static void main(String args[]) { EasyReader console = new EasyReader(); …

Member Avatar for Meldroz
0
327
Member Avatar for tccummings

[QUOTE=tccummings] Premature end of script headers: projest.cgi [/QUOTE] :sad: This usually means that the cgi script does not print anything, so probably it is generating an error. I would guess it cannot find the lib. :!: If you use CGI::Carp, you can show the CGI script errors in the browser …

Member Avatar for tccummings
0
116
Member Avatar for teritori

Sounds easy, but... Two options : [B]A][/B] Use Java2 Version 1.5. The option seems to be included there. [B]B][/B] Use a WindowListener handler for the WindowDeactivated event and call the toFront() method there. However, this seems to only work for your own (java-generated) frames/windows but not for other apps windows; …

Member Avatar for DeepZ
0
281

The End.