Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
0 Endorsements
Ranked #1K
~59.4K People Reached
Favorite Tags

146 Posted Topics

Member Avatar for shad

[QUOTE=shad]Hi Everyone, i am a final year computer science student.I was thinking of building a secure online voting system for my university's student union elections process. I wondering if anyone has an idea on how i can go about implementing the system.I would really appreciate any help you give to …

Member Avatar for Dani
1
1K
Member Avatar for lrw0831

of course you do. :) You're trying to declare a method inside of a method. Remove the first public static void main method and then a ending } near the bottom of your code and that should help you out some. Also, you have an extra ; at the end …

Member Avatar for stultuske
0
1K
Member Avatar for crestaldin

Yeah, we're not suppose to do your homework for you bud. Do you have to use arrays? It might be best to use a HashMap here. Using a HashMap will allow you to count only the characters that you have and nothing else. However, you will have to make a …

Member Avatar for JamesCherrill
0
433
Member Avatar for dgrblr

Hopefully the following link should help: [url]http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2691&lngWId=2[/url]

Member Avatar for peter_budo
0
427
Member Avatar for iamthwee

I don't think paint can do transparency. Try [url=http://www.gimp.org/]The Gimp[/url]. Its free and written in java.

Member Avatar for maquaree
0
623
Member Avatar for DyCE

you don't have a 'main' method in your class. Add the following: [code] public static void main(String[] args) { // Create an instance of your window here. // set the window to visible(true); } [/code]

Member Avatar for stultuske
0
453
Member Avatar for Dark_Omen

[QUOTE=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.[/QUOTE] double is a primative not a Class and you cannot call methods on it like a Class/Object. There are several ways to …

Member Avatar for JamesCherrill
0
482
Member Avatar for server_crash

[QUOTE=dragony2000]i wanna be a good java developer[/QUOTE] Join the club. I've been programming for 8 years now and I still want to move from beginner to good.

Member Avatar for Taywin
0
600
Member Avatar for cazaletm

Its because you're defining methods inside of another method. remove the public static String getName(), public static void openFile(); (btw, you need to remove the ; here), and public static void displayResults() from the public static void main(String[] args) method. So your code should look more like... [code] public class …

Member Avatar for jwenting
0
6K
Member Avatar for sam1

I like eclipse too and I also have some ant scripts that help setup my work environment.

Member Avatar for peter_budo
0
106
Member Avatar for mahes_

[QUOTE=mahes_]I was reading through my text book on Java Programming...It showed two class methods compareTo() and equals()...It seems to be that there is no difference between this two...Can someone pls clear me on this..Thank You![/QUOTE] compareTo(String anotherString) is used to compare if two Strings are equal and if they arn't …

Member Avatar for rvntdhillon
0
222
Member Avatar for tristan17

I'm betting this is a compile error? Your compiler can't find the class MyInput. Make sure that MyInput is in your classpath. Regards, Nate

Member Avatar for naushadahmed
0
191
Member Avatar for aripaka

Java Runtime is used to only run applications on a machine. There is no ability to compile java code into java classes with the Runtime environment. The Java Runtime uses a Java Virtual Machine. The Java Virtual Machine is what gives java its cross-platform ability. There is a virtual machine …

Member Avatar for thebody
0
200
Member Avatar for Dark Master

There is also a contains(Object o) method on List. So, you could check to see if the object is in the ArrayList before adding the Object. Or you could extend ArrayList with your own class that checks to see if Object is present in the ArrayList using the contains method …

Member Avatar for jwenting
0
272
Member Avatar for dannyfang

You should be creating a new topic for a new question. You also might want to be asking this question in the [URL=http://www.daniweb.com/techtalkforums/forum143.html]JavaScript[/URL] forum. Regards, Nate

Member Avatar for peter_budo
-1
9K
Member Avatar for Ghost

type 'set CLASSPATH' and 'set JAVA_HOME' instead. CLASSPATH and JAVA_HOME are not commands they are system varables. (You also should have stared your own thread instead of adding onto this one.) :)

Member Avatar for stultuske
0
2K
Member Avatar for joshuaravi

Do you have some code that connects to an Oracle database outside of a JSP? If so, could you please post it?

Member Avatar for jaytheguru
0
117
Member Avatar for muktidaniweb

Since you're using jsp's it might be easier to store the page that was clicked in the request object and use java programming (not java script) to highlight the page that was selected. The request should keep the page that was selected even after a refresh. Regards, Nate

Member Avatar for shahbaz5144842
0
143
Member Avatar for prasanna_godugu

The attachments for yahoo might be in a database, but the user that sent the attachment isn't going to be sending a link to access the attachment from there database. The attachment is just part of the email message itself. With Yahoo doing one particular way of allowing a user …

Member Avatar for crunchie
0
89
Member Avatar for ashwathy

Well, getting the requirements frist would be a first good step. Then figuring out what your business objects are from there would be a nice second step. You must first show some effort and then we will help. :)

Member Avatar for ~s.o.s~
-1
154
Member Avatar for George2

What the error is saying is that istrue is not an ant task that shipped with ant called "istrue". Which there isn't. Try looking at ants "[url="http://ant.apache.org/manual/CoreTasks/condition.html"]condition[/url]" task. It should be able to do what you need it to. You can then nest different types of condition [url="http://ant.apache.org/manual/CoreTasks/conditions.html"]elements[/url] in your …

Member Avatar for vinu09
0
210
Member Avatar for SRWenner

The .prejava files are actually his .java files. You'll have to rename each .prejava file to .java. Once that is done your ide shouldn't have any more errors.

Member Avatar for jbennet
0
333
Member Avatar for jigvesh

If you're using Java 5 also known as 1.5... From the Java 1.5 API Docs... [quote] mouseEnter @Deprecated public boolean mouseEnter(Event evt, int x, int y) [b]Deprecated[/b]. [i]As of JDK version 1.1, replaced by processMouseEvent(MouseEvent)[/i]. [/quote] [quote] processMouseEvent protected void processMouseEvent(MouseEvent e) Processes mouse events occurring on this component by …

Member Avatar for sanjrockz
0
434
Member Avatar for Dr. Mojo

whoa buddy... please don't reopen a thread that is 2 years old. :) Also, this is a javascript problem and you should post your question in the [url=http://www.daniweb.com/techtalkforums/forum143.html]HTML, CSS & JavaScript[/url] forum.

Member Avatar for masijade
0
108
Member Avatar for Lunaticrr

Well, my guess is we would need to look at your code to see where the issue is.

Member Avatar for karthikbgl
0
134
Member Avatar for sciocosmist

Signed means that the Applet has access to the browsers local machine. Due to security risks associated with Applets, applets are NOT ALLOWED TO ACCESS THE LOCAL MACHINE. However, if the applet is Signed then it is allowed to access the local machine. I do not know about how to …

Member Avatar for ede
0
313
Member Avatar for static
Member Avatar for rpjanaka
Member Avatar for bazmanblue

the text [i]script type="text/javascript"[/i] should hopefully give you a hint that your code is actually JavaScript and not Java. I would recommend asking your question in the [url=http://www.daniweb.com/techtalkforums/forum143.html]HTML, CSS and [b]JavaScript[/b][/url] forum.

Member Avatar for hooknc
0
116
Member Avatar for fraogongi

Of course you need help with deciding on what to do for a semester ending project. How about trying one of these? [url]http://www.daniweb.com/techtalkforums/thread48951.html[/url] [url]http://www.daniweb.com/techtalkforums/thread51473.html[/url] [url]http://www.daniweb.com/techtalkforums/thread51020.html[/url]

Member Avatar for tania23
0
363
Member Avatar for q8z
Member Avatar for hooknc
0
84
Member Avatar for jeepj27

You might want to ask this question over in the [url=http://www.daniweb.com/techtalkforums/forum143.html]HTML, CSS and [b]JavaScript[/b][/url] forum.

Member Avatar for amellie
0
104
Member Avatar for stonemonolith

could you post more of your code please. there doens't even seem to be a complete class there. :) Also, do a System.out.println(bExitButton) right after the bExitButton is created and then do a System.out.println(source) after getting the source from the event to make sure you're working with the same object.

Member Avatar for stonemonolith
0
108
Member Avatar for Antiparadigm

You could also try adding all your components and THEN showing the JFrame. [code] JFrame jfWindows = new JFrame("Search Box"); ... //add components here... ... jfWindows.setVisible(true); [/code]

Member Avatar for Antiparadigm
0
142
Member Avatar for gumedesv
Member Avatar for Taps

Are you on a unix, linux or windows machine? There are different cvs products for each I think. You are going to have to do a lot of reading on cvs to get good at it. But there are CVS commands written into ANT, which should help you out quite …

Member Avatar for Taps
0
124
Member Avatar for Reji

You and everyone else... [url]http://www.daniweb.com/techtalkforums/thread53661.html[/url]

Member Avatar for jwenting
0
118
Member Avatar for menakha

Do you have requirements yet? Besides having to create a hotel reservations system?

Member Avatar for jwenting
0
106
Member Avatar for ryy705
Member Avatar for scoobie

You might want to look into a SectionListener instead of a MouseListener. Just a guess though. I've never worked with the SWT.

Member Avatar for Phaelax
0
132
Member Avatar for im4tion
Member Avatar for Phaelax
0
122
Member Avatar for sandbox
Member Avatar for indianscorpion2

cook‧ie /ˈkʊki/ Pronunciation Key - Show Spelled Pronunciation[kook-ee] Pronunciation Key - Show IPA Pronunciation –noun 1. a small cake made from stiff, sweet dough rolled and sliced or dropped by spoonfuls on a large, flat pan (cookie sheet) and baked. 2. Informal. dear; sweetheart (a term of address, usually connoting …

Member Avatar for indianscorpion2
0
339
Member Avatar for nixlie

You will need to use JDBC to access the database. Here is a link that was found with a simple "JDBC Access" google search. [url]http://www.javaworld.com/javaworld/javaqa/2000-09/03-qa-0922-access.html[/url]

Member Avatar for jwenting
0
107
Member Avatar for Deco_20

The answers to your questions would most likely be in your text book. Or on your teachers power point slides.

Member Avatar for Deco_20
0
186
Member Avatar for indienick

Thats because you're making an array of 0 length. There won't be a value at position 2. (Which is really item number 3 because I think arrays start from value 0.)

Member Avatar for indienick
0
178
Member Avatar for calldan

HEY DAN! IT MIGHT BE BEST TO USE THE CODE Tags!!!!1 IT ALSO MIGHT BE BEST IF YOU LET US KNOW WHAT YOUR ERRORS Are Too!

Member Avatar for hooknc
0
198
Member Avatar for aman_dce

Why does everyone ALWAYS want to write a chat program? I don't get it. This has been suggested before, but make a program that will make end of year program suggestions to 3rd year students.

Member Avatar for DMR
0
359
Member Avatar for Smoke
Member Avatar for kssprabhu

I agree with jwenting. Its a bad idea to do database programmiing in a jsp. But my guess is you won't stop doing it. So I would recommend puting system.out statements in your catchs to see if an exception is being thrown. I would also try and up your logging …

Member Avatar for hooknc
0
799

The End.