35,618 Topics

Member Avatar for
Member Avatar for jiten_raulo

Hi experts, I have confusion about the point I read in my book: I. In a source file you can define number of classes, but only one of them can be a public class. In this case, the name of source file must match the name of public class. II. …

Member Avatar for jiten_raulo
0
88
Member Avatar for tones1986

Hey Guys - i am really new to Java and am having some serious problems trying to figure out how to use the painting stuff. My problem i am trying to get to work is that i need to create a 'circle' by using lines from X number of points. …

Member Avatar for Ezzaral
0
450
Member Avatar for javarook

so this program takes an input file and computes the class average and lists the students who are below average and the students with the highest score. Heres what im having trouble with: Having trouble getting the proper for loop to calculate sum, I've tried many different ways but its …

Member Avatar for Katana24
0
91
Member Avatar for mrynit

This program is a GUI shopping menu with text fileds next to item descriptions. My question is about the add method in ShippingCart class. It is called every time an action occurse in a text field, from a GUI class not shown here, where quantity requests are entered. So when …

Member Avatar for Ezzaral
0
211
Member Avatar for mgern26

Hi im writing a code that is supposed to display this * ** *** **** ***** **** *** ** * i have this so far for (int i=0;i<6;i++){ for (int j=0;j<i;j++){ which displays this * ** *** **** ***** how do i get the reverse side

Member Avatar for mgern26
0
84
Member Avatar for cool_jatish

Hi Buds......... I have an JApplet in which i want to display Urdu word in the JTextArea The JApplet is connected to MSAccess Thorugh DSNless JDBC-ODBC Bridge....... the parameter passed to database is in Punjabi language which will match from the database and select the equivalent URDU word The Urdu …

0
56
Member Avatar for vivekmrajesh

I want to find the link between the applications shown in task manager to that of the process tab in task manager. For this first I have to get the applications running in task manager.

0
45
Member Avatar for albertkao

How to use "c:if" to test for the boolean true? These does not work: [CODE]<c:if test="${model.value == 'true' }"> <c:if test="${model.value == "true" }"> <c:if test="${model.value == true }">[/CODE]

Member Avatar for albertkao
0
140
Member Avatar for anuplike

hi, i want to access my database through checkbox in jsp if i click on checkbox i should get database records

0
65
Member Avatar for sana.malik

Hi all, i am new to java, i am doing a grid computing project, anyone related to the fields please reply me. so that i can discuss my problems with u. regards

Member Avatar for rue64ja
0
78
Member Avatar for gunjannigam

Hi, I need a charting API which can plot static Line Graph for 300 million points. API should support zooming and panning of axes comfortably after plotting 300 million points. I tried with JFreechart but the result is not good for even 100 million points. Does anybody have any Idea …

Member Avatar for gunjannigam
0
108
Member Avatar for AngelPriya
Member Avatar for javaAddict
0
153
Member Avatar for vij123

i have a jsp page which have a some school names link. when i click to link of a school name, school name are appended to a link that will go to a second page. in this second page have same item which i will use same for all school. …

Member Avatar for vij123
0
1K
Member Avatar for merrycit

Hi, I dont understand why, but for some reason, the system does not recognize the buffered reader in the fileReverse method. Every time I try to invoke the readLine method on aBufferedReader, I get null as a result. Even my file reads: null null null null Can someone please help …

Member Avatar for tiny7415
0
134
Member Avatar for omkareswari
Member Avatar for Viruthagiri

Here is my code. I want to insert the date in 0000-00-00 format. But The error shows like this [COLOR="Red"][B]exception occured in Trainee Status java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date[/B][/COLOR]Here is my code [CODE]<%@ page import="INCLUDES.DBConnection"%> <%@ page import="java.sql.*"%> <%@ page import="java.io.*"%> <%@ page import="java.util.*"%> <jsp:useBean id="DB" …

Member Avatar for jwenting
0
300
Member Avatar for jdrake345

Hello, i need assistance with a mortgage calculator program. the requirements are : Program designed with GUI to Write the program in Java (with a graphical user interface) and have it calculate then display the mortgage payment amount from user input of the amount of the mortgage and the user's …

Member Avatar for jwenting
0
381
Member Avatar for barbn

[code]package inventory; // Product class import java.util.jar.Attributes.Name; // Creates Product Class, contains the inventory components public class Product { public static main(String[] args) {//begin main method Number number = new Number(001); Name name = new Name ("Highlighter"); Units units = new Units (6); Price price = new Price (2.50); //print …

Member Avatar for BestJewSinceJC
0
116
Member Avatar for Virux

Okay. I have been seriously struggling with this lately. I've searched and searched forever. The closest I found was this thread here: [url]http://72.5.124.102/thread.jspa?messageID=1662301[/url] What I am trying to acheive: I want to give my interface grayscale images for icons(png), and have a filter class that can color the grayscale images …

0
175
Member Avatar for pranav_jog

how to use system time in java & increment seconds then minutes and hour ?? can anybody will give me code??

Member Avatar for jwenting
0
59
Member Avatar for reynman

Hello all! I'm fairly new to programming (and have VERY little experience with JAVA) so please be gentle. :-) I'm looking at a piece of software created with Java and accessible via a https webpage, hosted locally. I login and there are several pictures on the site. I'm trying to …

Member Avatar for jwenting
0
102
Member Avatar for k2k

it is strange that my code was working before I modified some variable name/ type. i didn't make any major changes except for changing from double to int, and from double to String. the change was involved a bit sql code change as well though. i got (does anyone have …

Member Avatar for k2k
0
153
Member Avatar for David22

Hi guys. I have an observer/observable structure set up in my code that changes a bunch of TextField values with updated data, no big problem here. However, in my update(Observable obs, Object arg) method, I am trying to call another method to insert the new values into my database. I …

Member Avatar for ~s.o.s~
0
116
Member Avatar for cbtshare

hey guys , I would like to read info from a file e.g [inline] 10 999990 Gerry Boudens $1000.00 999991 Jimmy Chow $1500.00 [/inline] it is a credit card program, so the user would input their name and the program searches for it, if found it should show their credit …

Member Avatar for Ezzaral
0
156
Member Avatar for juliesyumyum

Hey! I need to program a simple arithmetic calculator. I've done the parser, infix to postfix, etc. Everything's working with no problems except that it only works with one-digit numbers. For example: 10+2 evaluates to 2 instead of 12. Here's the code of the parser: [CODE] package calculator; public class …

Member Avatar for javaAddict
0
207
Member Avatar for ubi_ct83

Hi all, i want to ask u guys what else i need to do to run this code? i have JDK. i have these file in my c:/program files/java/jdk1.6.0_16 c:/program files/java/jdk1.6.0_18 c:/program files/java/jre6. if i want to run this code,what do i need to do? [CODE] import java.awt.graphics; class HelloWorldApplet …

Member Avatar for jwenting
0
95
Member Avatar for mabrookes

Hi, Im very new to java (about a month) with a useless lecturer who has taught us nothing. Everything I have learnt so far as been on my own at home trying things. I did a question, but I wanted to try adding things to it to learn so started …

Member Avatar for mabrookes
0
105
Member Avatar for jayaj

hi all! pls solve my problem i am using jasperviewer with netbeans , everything is working fine, but when i exit the jasper report my entire project gets exited. Plz tell me the solution. Thanks.

0
40
Member Avatar for dirnthelord

I'm trying to display a report in my src/iReport/report1.jasper directory. but every time i try to display it i get java.lang.NullPointerException. I can't find where the problem is. Please someone just take a look and help me. I have imported all necessary libraries. im using Netbeans. [CODE] package Windows; import …

Member Avatar for dirnthelord
0
676
Member Avatar for Hakoo

Hello Everyone, Currently I m working on "Bug Tracking System" project using JSPs and MySQL. Actually this one is Intranet Base project. I want to add e-mail facility for each user. How can I do? Which Data Type is suitable for "File Attachment"?? And also I want help for Session. …

Member Avatar for stephen84s
0
94

The End.