35,618 Topics

Member Avatar for
Member Avatar for srs_grp

Hello, I am using a Jtable in my application.I am entering values in last column of that table.Below the table, i have a Jbutton named as 'Save'.Suppose while clicking on 'Save', the entire row remains selected except the last cell in which I have entered the value.Then if I retrieve …

Member Avatar for stephen84s
0
101
Member Avatar for MarMcD

Hello, I have to create a product class that holds the item number, product name, units in stock, and the unit price. I also have to create a java application that displays the same info. I have been working on this for three days now... I am getting frustrated because …

Member Avatar for javaAddict
0
229
Member Avatar for lion_crazz

Okay, so I am taking an intro class for java programming and my instructions for this program were to write a program that found the first 20 numbers that when divided by 2,3,4,5,6 all left a reminder of one and then when divided by 7, left a reminder of 0. …

Member Avatar for ddanbe
0
123
Member Avatar for zangster421k

I have a project with these requirements: > Create an array based phone directory which can load name and numbers of all the poeple in the phone book (which is an array) and can change numbers of existing entries, add new entries, delete existing entries and save any new changes …

Member Avatar for javaAddict
0
187
Member Avatar for dmoliver

Hi! I need help with a class project. It is basically an encoder/decoder program, with two parts. Part 1: Take text entered by a user, convert each character to a number, and save the result to a file. Part 2: Read each number from the file, convert it to a …

Member Avatar for BestJewSinceJC
0
157
Member Avatar for marjan_m

Can any one please give some links about Form Validation through java script. Or if any one can assign me some assignment related to JSP,thn please reply this post. I need to know that practically how and where JSP is used except form validation. Thanks for your time. Regards,

0
68
Member Avatar for curtissumpter

Is it safe to assume that any object that is preceded with the letter 'J' is a member of the Swing package? Just trying to get lightweight versus heavyweight components sorted properly. Thanks. -- Curtis

Member Avatar for verruckt24
0
89
Member Avatar for srs_grp

hello, I am using byte array to store values in it & then i am storing that byte array into database using [code] st.setBytes(1,myBytearray); [/code] while retreiving values it works fine if last byte value is not zero. But if it is zero, i think,last value is not getting saved …

Member Avatar for Ezzaral
0
177
Member Avatar for k2k

would anyone explain the difference among "public static int " and "public final int " and "public static final int" ? thanks

Member Avatar for ~s.o.s~
0
86
Member Avatar for tiborv

Hello. First of all i must say that im a noob with .jsp programming, so pleas be indulgent :) .. [code]String somepage = "client.jsp"; <%@ include file="menu.jsp" %> // this works[/code] [code]//How to add variable somepage in file= <%@ include file="somepage" %>[/code] Thanks !

Member Avatar for tiborv
0
81
Member Avatar for ericpaul

Hey pal, It would be great if you give your suggestions and ideas on Java script Tile base game engine. You know.. with click to walk (or keyboard), inventory, grab items, talk to people, exp, levels, etc. Any Good Ways, any help would be appreciated. Thanks, Eric Paul

Member Avatar for Jen0608
0
148
Member Avatar for arvin2006

Hi, everyone! I wish i could find someone who is diligent in answering to my queries since i am a beginner when it talks about java. I understand visual basic very well since it was the language i used when i am doing my thesis, and now i am working, …

Member Avatar for stultuske
0
101
Member Avatar for ajithraj

I had learned that JVM will collect only the freed memory location during the garbage collection..That is if an object had a reference, then it will not be collected... My doubt is, will the JVM collect all the used location whenever it goes out of the method..That is . [ICODE] …

Member Avatar for ajithraj
0
168
Member Avatar for scream2ice

Hi all The program i'm trying to write is meant to take a series of HTML codes as input and check to see if the all the tags in that code are matched or not (it should basically check all the opening tags and see if they have been closed) …

Member Avatar for verruckt24
0
882
Member Avatar for nandomendoza

Does anybody know how to indent in the java code and then once then one you run the application the output is displayed with the indentation you created. Anyone's input in this would be helpful.

Member Avatar for stephen84s
0
182
Member Avatar for nekt

Hello People Please suggest me the use of passing class reference in a method Here is the sample code from class A [code]public Integer[] getReport(Class classname, String sql) {[/code] And, then when it is called inside class C, it is referred to as , [code]new A().getReport(B.class, "select * from Table …

Member Avatar for nekt
0
85
Member Avatar for k2k

hi, i just have many questions regarding abstract class, please briefly explain if you may. thanks. 1. what is the difference between declaring public abstract class and abstract class ? 2. should abstract class have a constructor? i know by default it has one, but since abstract class doesn't have …

Member Avatar for masijade
0
145
Member Avatar for Gage84

A computer program is to be developed to be used in clocks. Here is a class definition for this program public class Time { public int hour; public int minute; public boolean isMorning; } Enhance the above class definition by providing two constructors: one that allows a time to be …

Member Avatar for Ezzaral
0
85
Member Avatar for guatemalagirl

HI! i need to create a program that lets user input as many numeric grades as they like.... in return they get the letter grade for each and the their grade average, minimum, and maximum. this is all i have so far...... import TerminalIO.KeyboardReader; public class LetterGradeWLT { public static …

Member Avatar for VernonDozier
0
100
Member Avatar for jpp10

Hi, I am in a requirement of selecting a particular .csv file for reading into the program for further manipulations (calculations) based on zipcode entered by the user. So, can u pls direct me for the same so as to get the things moving on.

Member Avatar for jpp10
0
106
Member Avatar for alkeshtech

So, I am writing a program which reads inputs from a text file. The prgoram plants a plant at (x,y) location which is read from a file as PLANT 3,4 for example. It also puts the plant in flames from command FLAME 3,4. So, there will be multiple plants and …

Member Avatar for verruckt24
0
91
Member Avatar for seemant gupta
Member Avatar for bluue

I changed the name of a folder so that it would meet the requirements for my assignment submission and now my program wont run in the command window. its saying it can't find the .txt files. However, the program runs without any problems in JCreator. i have a folder called …

Member Avatar for bluue
0
101
Member Avatar for bluue

I know that the code sorts a list of temperatures numerically but i cant get my head round what it does in detail, as in line by line. [code] public void sortnumerically() { for (int i = 0; i < temperatures.size() - 1; i++) { int min = i; for …

Member Avatar for verruckt24
0
93
Member Avatar for de boer

hie all, i am here all because of need u guys help.. my task is to create two fishes which can swim inside aquarium and move and turn by using java coding. actually i got a set of uncompleted code. what i need to do is to compile all the …

Member Avatar for javaAddict
0
815
Member Avatar for peter_budo

After numerous issues with my first hosting I got new deal. Now I want to get my blog move to its new home, but I hit the wall with simple WAR deployment Here is catalina.log [code]INFO main org.apache.catalina.core.StandardService - Starting service Catalina INFO main org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache …

Member Avatar for stephen84s
0
166
Member Avatar for seemant gupta
Member Avatar for verruckt24
0
80
Member Avatar for zeiken

HI!!!I am new in java i would like to know sample program that counts the number of vowels of word

Member Avatar for stultuske
0
46
Member Avatar for barbz

/*this program counts the number of transitions and tranversion occur between two *genes when two DNA strings from a source file are compared using threading.*/ [code] import java.io.*; import java.util.*; import java.lang.*; public class Gacer021109{ public static Vector<String> DNA = new Vector<String>(); public static int cnt=0; public static void main(String[] …

Member Avatar for barbz
0
463
Member Avatar for spanker1

plzzzzz help me on this java programming question? hello people.. can u plzzzzzzzzzzzzzzzzzzz help me out with this java programm. its due tmrw....... and i havent even get started on this program. i dont want to cheat .... actually some hints of how to do this program and a brief …

Member Avatar for stultuske
0
125

The End.