32,204 Topics

Member Avatar for
Member Avatar for Sailor_Jerry

Is there a way to get this down to one line of code? [code] boolean [] myArrary = {true, false}; return myArrary; [/code] I'm trying to combine those lines into one, but I am not sure what the correct syntax would be. Thanks, sj

Member Avatar for Sailor_Jerry
0
147
Member Avatar for Bones85

hey everybody, this is my first post here. So first of all my apologies for any wrongdoings in the netiquette. Yes, its from school, and its an example from the book, I recreate them to figure out what commands i need and to memorize them. But the problem is, that …

Member Avatar for Bones85
0
192
Member Avatar for jfedor

I need some sample java code or some direction in writing a program to convert a fixed width file inot a .csv comma deleimited file . Can anyone help me?

Member Avatar for jfedor
0
247
Member Avatar for crawf

Hi everyone, I have a simple applet to display the perfect numbers from 1-500...but when the numbers that are considered to be perfect are displayed, they are written over the top of each other... Ive used a simple for loop, but it doesnt seem to help...does anyone have any ideas …

Member Avatar for crawf
0
82
Member Avatar for Bonjava

Hi, I need some help with some method in my classes. I started on some if not all of them. I just cant seem to find what im doing wrong here. Any help would be greatly excepted. Thanks Here is code: [code][COLOR=#7f0055] [B][LEFT]import[/LEFT] [/B] [/COLOR][LEFT][COLOR=#000000]java.util.Scanner;[/COLOR][/LEFT] [B][COLOR=#7f0055][LEFT]public[/LEFT] [/COLOR][/B][COLOR=#7f0055] [/COLOR][LEFT][B][COLOR=#7f0055]class[/COLOR][/B][COLOR=#000000] Assignment3[/COLOR][/LEFT] [LEFT]{ …

Member Avatar for yvs
0
181
Member Avatar for vinahorse78

[INDENT] [INDENT]Hi all, I 'm writing a small program called ATM (Automatic Teller Machine) connected to Microsoft Access Database in Java. The program is complied without no fault, Howerver it doesn't display Form which I can enter user information (such as: accountnumber, pin,...). It shows: "Usage: Java ATM databaseDriver databaseURL, …

Member Avatar for yvs
0
207
Member Avatar for nik13

hi guys, i wanna learn java from the basics to the advance part . can anybody give me the site address's:lol: which provides free ebooks. plz mail me list the address's. bye u all.

Member Avatar for jwenting
0
86
Member Avatar for it-1

i'm using jBuilder 9 interprise and i need to know how to create en .exe and i'm having a trial version so the help isn't available..can anyone help please?? thnx

Member Avatar for jwenting
0
141
Member Avatar for Sailor_Jerry

How do i return a boolean array? i get an error stating that i can't cast from boolean[] to boolean. I have something like below. [code] method logic... boolean [] information = {true, false}; return information; // this line does not work. [/code] Thanks sj

Member Avatar for Sailor_Jerry
0
165
Member Avatar for racerrunner

Halo can someone tell me how to convert a double variable to 2 decimals? I try using the below code but it cannot work. DecimalFormat df = new DecimalFormat("0.00"); String a = df.format(123.5%11); double AA = Double.parseDouble(a); for instance i want AA = 2.50 instead of 2.5. the program keep …

Member Avatar for jwenting
0
138
Member Avatar for mohamad11

Hi I made a digital signature application using Jbuilder X ,but the thing which i need is for example in my application i have two stages: Signing the message Verification stage(to be sure that the message is really authinticated and it comes from the true sender without any change) in …

Member Avatar for it-1
0
95
Member Avatar for mohamad11

hi ..how can i calculate the strength of digital signature application or tp proof that it is secure?

Member Avatar for it-1
0
60
Member Avatar for skinnybones

Hi im new to java and i just started my summer homework with jcreator. Well my teacher told us to do this code and i tried it on my friends computer and it worked fine.Well now im at home and every time i try to run the program I get …

Member Avatar for iamthwee
0
77
Member Avatar for aarya

hi i i am new to java and i have the thearotical knowledge of j2ee. i have experience in asp and php. but now i want to learn j2ee and persue my caree in j2ee platform. thats y i want to do som mini project based on swings and applet,jsp,xml …

Member Avatar for jwenting
0
124
Member Avatar for topaz

Hi Guys; I jus want to send out a big thank you to everyone who contributes to this forum, thanks for the help and support i got from some individuals on this forum. Truely appreciate your assistance, really helped me finish my final year project. God bless you all.

Member Avatar for iamthwee
0
84
Member Avatar for vinahorse78

[INDENT]Hi all, I 'm writing a small program called ATM (Automatic Teller Machine) connected to Microsoft Access Database in Java. The program is complied without no fault, Howerver it doesn't display Form which I can enter user information (such as: accountnumber, pin,...). It shows "Usage: Java ATM databaseDriver databaseURL, Press …

0
65
Member Avatar for usama
Member Avatar for usama
0
127
Member Avatar for Sheki RDH

hello all, can anybody reply to this i'll be grateful to them.... i'm working in swing applications, now i want to insert one button in the status bar reducing the size of the status bar..... please anybody suggest me how to proceed with this..... thanks in advance shekar

Member Avatar for server_crash
0
331
Member Avatar for TinchoXVI

[INDENT][B]Well, this is one project away from my AP Exam. [/B] [B]Unfortunately I am taking this course idependently. (Independent School of Nebraska, I live in Africa :eek: ) I just need someone to put me on the right track for the following. Anything will be cosidered. My e-mail is [/B][EMAIL="martineye_13@hotmail.com"][B]martineye_13@hotmail.com[/B][/EMAIL][B] …

Member Avatar for Phaelax
0
305
Member Avatar for walalno2005

hello for all i have a project in my faculty to connect oracle and sql server and access with java and i do all but i can not connect java and access how can i do i ?

Member Avatar for jwenting
0
83
Member Avatar for mohamad11

Hi i have a java aplication to make a digital Signature ,i need to connect it with outlook express how can i do that??? iam using Jbuilder X...

Member Avatar for jwenting
0
56
Member Avatar for challenger

Hi, I have to embed an applet on a html page that will be accessed by client PCs. I want to display a pdf file on the applet as well (supposedly a html file). I decided to venture into converting the html file to a pdf file and display on …

0
107
Member Avatar for crawf

Hi! Im making an applet to graph a quadratic function...now im not going to be rude and say "tell me how to do it!" but i was just wondering if i could get some assistance on making it... Now of course, i've had a go at it, and i've made …

Member Avatar for crawf
0
491
Member Avatar for crawf

Hi, I'm working on an assignment for school...one of the applets i have to develop is a colour picker...But unfortunately i'm having some trouble with it... I would just like to ask if anyone could help me along a little bit and give me some insight as what to do …

Member Avatar for crawf
0
212
Member Avatar for whizz_kid

I created an online Java test to prepare for SCJP. Check your skills here: [URL="http://www.teamtesting.com/test/java"]http://www.teamtesting.com/test/java[/URL]

Member Avatar for jwenting
-2
147
Member Avatar for sandy183

hi, when i try to run an applet, it tells me "connection refused". on some computers, the code works, and on others (like mine) i get this error message. can someone please tell me what could be the problem? thanks for replying!

Member Avatar for sandy183
0
235
Member Avatar for TinchoXVI

I have to design a program that uses Basic Math class. With the following functions and imput commands Add (Add), Substract (Sub), Multiply (Mult), Divide (Div), Exponents, ie. 2^3 (Exp), and Factorial, ie. 3! (Fact). So far I have this, i just can't figure out how to add the functions. …

Member Avatar for iamthwee
0
101
Member Avatar for pixeltrace

guys,i am just a java newbie and i am really interested in studying this.i am currently using java development kit 5 and i am working on the exercises in sam java 24 hours.[url]http://www.samspublishing.com/library/content.asp?b=STY_Java2_24hours&seqNum=29i[/url] cant get to compile Saluton.javabecause when i am trying to typejavac Saluton.java in the ms-dos commandlineits giving …

Member Avatar for jwenting
0
182
Member Avatar for korbynlehr

" array dimension missing TextField dsplNameField = new TextField[];" What we are trying to do is allow user to input id and that will match to ids in the array and coresponding name

Member Avatar for korbynlehr
0
94
Member Avatar for sam1

hi, i am using elcipse in suse linux, but cant connect to mysql. if anyone uses eclipse ide in linux can you please help me to get it connected. thanks

Member Avatar for Phaelax
0
609

The End.