35,618 Topics

Member Avatar for
Member Avatar for jlgad

I have 3 classes..but i need to print the outcome from the printArray. Right now it is printing from the GetTax Compute class. I am so confused. [code] Class 1... public class PosCalProgram { public static void main(String[] args) { double x = 0; item[] items = new item[3]; items[0]=new …

Member Avatar for DaSogo
0
141
Member Avatar for Aretai

Hi, I do not know where to place non-default Java classes so that i could be able to import them with command like this: import myclass.myoperation; just like import javax.swing.JPanel; I tried to find a proper classpath but i was not able to locate it - tired echo %CLASSPATH% and …

Member Avatar for jwenting
0
89
Member Avatar for usama

Hi all i want to make the textbox in netbeans Right to left and make it setFocus but these do not found in textbox properties what i can do? Osama

0
65
Member Avatar for jcdmibz

I have a situation. I am running a Windows XP with iE 6.0 sp2; under admin i am able to view the site no problem. Once I logon as the user I am no longer able to view the site. I checked the following Using Java and not Microsot vm. …

Member Avatar for jcdmibz
0
105
Member Avatar for spacedani

Hello, Could somebody help me with my problem: I´ve got a Vector all. Data is: name, date, price@dateX i will print out every person with name, and the amount (all prices together for that person) How to do that??

Member Avatar for iamthwee
0
111
Member Avatar for teton

Ok, so I missed the entire Nascar race today trying to figure out why I couldn't listen to the scanner which uses J2SE Runtime Environment. In my add/remove programs it shows that this is installed. I uninstalled/reinstalled (3times) but when I try to use the scanner function it asks to …

Member Avatar for 'Stein
0
208
Member Avatar for pineapple

Hey, I'm a beginner programmer and have been grinding my teeth over this one specific part of my program for hours and have finally admitted to myself that I need help. Here's the problem: I have to write an encryption function that is simply the sum of the unicode values …

Member Avatar for iamthwee
0
137
Member Avatar for crawf

Hi again guys! I was just wondering how to limit the number of values that are printed out on the screen from a users textField.. Like say, if a user put in 4, only 4 numbers would be printed...Im wanting to do this with my perfect numbers applet, so the …

Member Avatar for DaSogo
0
144
Member Avatar for girish.sh

Hi all, I am a new joinee in this forum. I am facing one problem. How to call Java classes and methods from shell scripts?? i am using KSH. Is it really possible to do that or not? Response will be appreciated. Thanks, Girish Sharma

Member Avatar for masijade
0
309
Member Avatar for aarya

i am learning ejb. which is the best and easiest software to deploy. is it weblogic or eclipse or jboss. i m little bit confused . any body guide me with good tutorial site? thanks

Member Avatar for masijade
0
102
Member Avatar for usama

Hi All i hve worked as Java Mobile Application programmer with netbeans 5 tool. i want an urgent help to how use action of Mobile device Buttons(up , down ,1,2,....9,#,*) Usama

Member Avatar for aniseed
0
115
Member Avatar for yugandhar
Member Avatar for aniseed
0
59
Member Avatar for rew24

hey guys ....how good are hotcerts.com preps for solaris exams ? . iam going to take one soon and i need ur guys help ..please do let me know

Member Avatar for aniseed
0
91
Member Avatar for Coffee_Monzter

I m currently also looking for source code implementing LSI written in Java. Any suggestions? <thread broken from [URL="http://www.daniweb.com/techtalkforums/thread9128.html"]original thread [/URL]>

0
93
Member Avatar for praveenmanchu

[code]import java.awt.*; import javax.swing.*; /* <applet code="JScrollPaneDemo" width=500 height=450> </applet> */ public class JScrollPaneDemo extends JApplet { /*public JScrollPaneDemo() { //repaint(); }*/ public void init() { // Get content pane Container contentPane = getContentPane(); contentPane.setLayout(new BorderLayout()); // Add 400 buttons to a panel JPanel jp = new JPanel(); jp.setSize(50,50); jp.setLayout(new …

0
105
Member Avatar for Cudmore

Sooo... I just started designing the GUI for an application that I'm writing.. And, well, I can't get either the awt.TextArea OR the swing.JTextArea to work properly. Here are snapshots of both, along with the problems I am experiencing. If anyone can resolve these problems, please let me know.. I …

Member Avatar for Cudmore
0
257
Member Avatar for it-1

i need to link between JAVA code and C# code i need to call C# from java or write C# code in JAVA code can anyone tell me how?? THNX

Member Avatar for server_crash
0
69
Member Avatar for adileoxfxanis

If this isn't allowed...I'm sorry... Hello, I am a Freshman, and when I get into my sophmore year I'll be taking a Computer Science Class. The only problem is...I don't know anything about Computer science. My friend told me if I wanted to be ready for the class, I should …

Member Avatar for server_crash
0
186
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
150
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
195
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
275
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
83
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
182
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
210
Member Avatar for mmfarhan

Hi, I am using RichEdit box (i downloaded it from [url]www.gerd-tentler.de/tools/richedit/index.html[/url]) on my page for formatting text and storing text with html tags in database. But, when i try to get this text (eg. <P> kkjkjkj </P>) from database using <c:out value='${LongDesc}' /> it converts all the tags into: & …

0
62
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
87
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
142
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
167
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
140
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
96

The End.