31,001 Topics

Member Avatar for
Member Avatar for jasmin_java

Hi, to everyone.‎ My program to make program to write the application the input ‎a dollar amount to be printed on a cheque, and then prints the ‎amount with eleven position number are available for printing ‎the cheque. And need to run the word equivalent of the cheque ‎amount e.g.: …

Member Avatar for NPH
0
202
Member Avatar for George2

Hello everyone, I have always seen some methods are described as "best practice". I am wondering what means "best practice", an algorithm? Thanks in advance, George

Member Avatar for Gargol
0
408
Member Avatar for nordmann

I've been trying to find an alternate means of achieving essentially what JSplitPanes can do, except that the hideous-looking splitter bar would be invisible, and you can resize in both x and y dimensions at the same time. My current thought is to subclass a JPanel with listeners that implement …

Member Avatar for nordmann
0
149
Member Avatar for Melotron

Hello! I started this course in Java and we got this assignment to do and it consists of making 2 strings of text and then we are are supposed to write this code that storage the varible "`max_length`" and then print out "The longest string has the length...". I know …

Member Avatar for jwenting
0
642
Member Avatar for OllieFalle

Hi everyone, Just thought i would post my program im doing at the moment as im completely stuck. Basically the program takes a user input as a string, uses the tokenizer to break down. The individual strings which will be single characters will be used to draw notes on a …

Member Avatar for OllieFalle
0
137
Member Avatar for tdizzle342

I just wanted to know how to draw a thick line and also can anyone tell how drawArc works , in know how to make it work (x,y,width,height,startAngle,Arcangle) but i cant figure it out. Line just arc in ways i dont really understand. Thanks.

Member Avatar for NPH
0
149
Member Avatar for glamo

hi to everyone , i have to make a program in jav which will fulfill following conditions. first of all, i have to make any alphabet by free hand drawing, like in ms-paint there is a pencil so by using that suppose i am writing b,c or any one alphabet, …

Member Avatar for nordmann
0
188
Member Avatar for phani8123

i have a problem on ejb please tell me the steps needed for running an ejb program with ant and with weblogic when i am using weblogic builder for generating xml files it is saying no j2ee component,why so

Member Avatar for phani8123
0
145
Member Avatar for Kennedy_f

My preparation for SCJP 1.4 has over(in terms of theory),i am in disgust how should I practice the programs, which way is best to practice? in books I just found they have given programs based on concepts, I want to practice programs with their applicative areas. Please suggest me some …

Member Avatar for server_crash
0
245
Member Avatar for fdrage

Hi, I'm using your RSS FEED link to get all the news or event that is happening in your forum. however i am only interested in whats happening in the Java forum. Is there a way where i can RSS only the Java forum? I also noticed that one is …

Member Avatar for fdrage
0
135
Member Avatar for gokul

Hi Friends, i am developing a Chat Application.. i want to design the my Contact Tree as like in the below image. [URL=http://www.megaupload.com/?d=TYKVH37L]Contacts Tree Image [/URL] (Sorry, i uploaded image in [url]www.megaupload.com[/url] .. -pls wait for 45 seconds.. i don't know how to attach my image to the forum.. if …

Member Avatar for gokul
0
169
Member Avatar for tbrinkman

I'm creating a JSP page for doing some actions on a database. Everything is working, but I have to add abstract classes as well. When I put the abstraction on a klasse and his two extensions, I get immidiatly a blue HTTP 500 apache status error. HTTP Status 500 - …

Member Avatar for jwenting
0
324
Member Avatar for vex

Is there something about adding a JList to GridBagLayout that I am missing. I want to place a JList between a JLabel and a JTextArea. No matter what I do the list seems to stay in column 1. I am only using GridBagLayout in the west pane(wP) I have tried …

Member Avatar for vex
0
168
Member Avatar for jtxay

Hello there, I am having problems with this code i have written and it is a tic tac toe program. It runs and everything but it doesn't get a winner when i call the method getWinner. this method is suppose to return 'x', 'o' , or ' ' depending onwhether …

Member Avatar for server_crash
0
107
Member Avatar for Gargol

I am prepared to be corrected if I am wrong but... The Jtable is a pretty powerful and useful object. As I understand it the JTable is designed to hold one object type in each column. For example this matches well with the rows representing the records in a database …

Member Avatar for jwenting
0
362
Member Avatar for jeni_4

I am trying to write a program that maps a product to its description. I have attached the text in the end. This is the code I have come up with. It compiles fine but does not give me the result properly.. [CODE]import java.io.*; import java.util.*; public class InstanceItem{ HashMap …

Member Avatar for Gargol
0
133
Member Avatar for freesoft_2000

Hi everyone, I really deserve a kick for asking this question so please bear with me. Assume i have two classes class a and class b. Now class b depends on class a to compile correctly. Class a has been compiled and the class file is generated correctly. Now when …

Member Avatar for jwenting
0
222
Member Avatar for bobr_1013

Hi, I having problems with loading created objects into an array, then being able to access the records later in the program. The following is a listing of my current program. The code I have thus far, reads information from a file, builds the objects (DVD, Ipod, or Walkman, then …

Member Avatar for Gargol
0
150
Member Avatar for glamo
Member Avatar for jwenting

[url]http://www.hacknot.info/hacknot/action/showEntry?eid=76[/url] has an excellent rant about the problems of visual editors (aka GUI builders). While he talks specifically about Java, the same holds true for all of them. And yes, that means Visual BASIC and Delphi as well, languages which traditionally are seen as almost purely visual. I've done several …

Member Avatar for jwenting
0
536
Member Avatar for glamo

*Following is the program where 3 objects (obi) each try to print numbers 1 to 10 with corresponding object name (ob1,ob2,ob3).but due to lack of synchronization there output is mixed with one another .make the program synchronized to produce correct output /* //note:-Do NOT add any DELAY or SLEEP code …

Member Avatar for Gargol
0
131
Member Avatar for dntchaseme

Hello I am trying to read an aicc ini.file and storing each section and its content into a new Object{} [section] prop1=value1 prop2=value2 prop3=value3 prop4=value4 [section2] .... .... Would someone out there knows javaScript regExp and could give me one or two hints on how to write a regex pattern? …

Member Avatar for Gargol
0
149
Member Avatar for grussell

I have been experimenting with my Java problem whereby my JTable class was not calling getValueAt. I got it to call getValueAt by making sure getRowCount sent back the right value and then found that the Vector was empty. When the Vector comes back from the server it has a …

Member Avatar for Gargol
0
129
Member Avatar for bondito

Hi there, i was thinking of building an instant messaging systemon a LAN, for my final year project. Dont know how to go about it, really need ideas. I was planning on using java sockets to create the system. Any helpful tips will be really appreciated.

Member Avatar for jwenting
0
379
Member Avatar for pandiarajan_ar

Hi, i am trying to implement finger print recoginition system. if someone has any code snippet or pseudocode or any idea of Identify core point in finger print image . it's implementing it either in C or java, please help me out with it. thanks.

Member Avatar for pandiarajan_ar
0
304
Member Avatar for glamo

can anyone tell me how to open os utility's like mspaint,calcin windows by a java program

Member Avatar for server_crash
0
86
Member Avatar for blastocyst

I guess I'm going to use ascii values here, taking a string and converting all letters to lowercase. I'd rather use a for loop than a huge switch statement. How do I do this?

Member Avatar for server_crash
0
53
Member Avatar for eliauction

what do you think? [URL=http://weblogs.java.net/blog/flozano/archive/2005/04/how_to_make_jav.html]read this[/URL]

Member Avatar for hooknc
0
106
Member Avatar for sampitt

hi need some help. I am getting an error with the code below, the error is uses or overrides a deprecated API. [javac]. Which is not really an error but what other way should i code this `"Vector dataHeaderDisplay = new Vector(finalData);"` Please help. if(materialType.equals("trim")){ Vector dataHeaderDisplay = new Vector …

Member Avatar for jwenting
0
173
Member Avatar for stevenr

I am writing a Math related program and I want to display the equations that the user inputs properly. I was thinking about using LaTeX to displaythe equations in a JTextField but need help puting that concept into code form.

Member Avatar for stevenr
0
89

The End.