35,618 Topics
![]() | |
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 … ![]() | |
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 … | |
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 | |
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. … | |
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?? ![]() | |
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 … | |
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 … ![]() | |
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 … ![]() | |
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 | |
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 | |
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 | |
hai, qu: how to upload a file through a servlet by Yugandhar | |
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 | |
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]> | |
[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 … | |
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 … | |
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 | |
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 … | |
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 | |
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 … | |
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? | |
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 … | |
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]{ … | |
[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, … | |
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: & … | |
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. | |
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 | |
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 | |
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 … | |
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 … |
The End.