35,618 Topics

Member Avatar for
Member Avatar for leo_zidane

Hi all experts, I try many times to get the inorder traversal but still it is wrong. Can anyone help me on this?? Thanks alot

Member Avatar for ~s.o.s~
0
120
Member Avatar for intelli

can anyone help me with starting this program i have no idea how to start it. Design and implement an application that reads an integer value representing a year from the user. The purpose of the program is to determine the year is a leap year in the Gregorain calender. …

Member Avatar for intelli
0
159
Member Avatar for kasp4me

Hello, if anyone can help I'd greatly appreciate any input! I am of course another newbie and attempting to compile the Inventory program - it contains arrays and I am trying to create a method to calculate the total inventory which is contained within the array named sumInventory[] Here's the …

Member Avatar for kasp4me
0
150
Member Avatar for BestJewSinceJC

Ok so lets say I have any GUI that needs its contents changed while it is running, so that it will re-display the new contents. An example would be a JTable that just lists things from an ArrayList. So if I had an ArrayList<GroceryList> my JTable might have Cheese Crackers …

Member Avatar for sanaulla123
0
7K
Member Avatar for viber101

hello everyone, is there any tool class or utilities class in java class library that can run/view .class file?. for example if i click a jbutton i can view a .class file.. Please help. thanks.

Member Avatar for stultuske
0
149
Member Avatar for nekt

I have doubt about MouseEvent consume(). And, what it is used for? As, I tried an example and I could not figure out what it was doing Please give your suggestions on this Thanks Nick

Member Avatar for nekt
0
148
Member Avatar for iheartcoheed129

I am trying to write a program that reads an inputted sentence and takes each word an puts them on a separate line. Then the program needs to count the number of words. I really do suck at this and am only still in this class because I have to …

Member Avatar for jared_masc
0
126
Member Avatar for cescbayo

[COLOR="Green"]Hi,[B][I][/I][/B] Can some please help me the type of errors in programming?[/COLOR][B][I][/I][/B]

Member Avatar for stultuske
0
117
Member Avatar for meteoroidkim

I just wanna test my event,but it doesnt work,anything wrong? Pls help...thanks.. [code=java] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; class Frame extends JFrame { private static final Font numFont = new Font("monspaced", Font.PLAIN, 14); private static final Font font = new Font("monspaced", Font.PLAIN, 14); private JTextField displayField; // …

Member Avatar for stultuske
-1
116
Member Avatar for praful_engg

Hi friends,, I am doing engineering and need a JAVA Project on Online Examination.. I dont want a long and complicated project.. But only a project made up of servlets , JDBC... I will be thankful to you as I need it urgently.. Plz help me out... Thank you... You …

Member Avatar for stultuske
-1
136
Member Avatar for ezkonekgal

what does it mean when you say' reading a java text file?' what does it mean when you say 'writing a java text file?'

Member Avatar for stultuske
0
168
Member Avatar for ezkonekgal

what am i going to do? we are tasked to create a shopping cart. Product list should be stored in a text file. I have it already, the thing is when the user would buy a certain quantity of a certain product, let say Product list: [U]item# price quantity[/U] pencil …

Member Avatar for stultuske
0
113
Member Avatar for preetika

Hi I am new to javamail API. I added mail.jar and activation.jar in my jre/lib/ext.But still when I am trying to run programs I am getting an error of java.lang.NoClassDefFoundError in main .. can anyone help !! i really need to begin up coding as the deadline's approaching

Member Avatar for stultuske
0
86
Member Avatar for mlotfi

Hi, I sent two arrayList from an action to a jsp file where I created two list boxes, did some javascript transfer between the two listboxes, I want when I submit I will get the values of each listbox in an action, could you please show me how to do …

Member Avatar for ~s.o.s~
0
94
Member Avatar for dhatfield

Can someone explain to me how to convert a number to a string. For example like this number 99812.50 to a string in words (Ninety nine thousand eight hundred twelve dollars and fifty cents,

Member Avatar for stultuske
0
69
Member Avatar for ezkonekgal

i don't get it how do you create a text file? i've read some tutorials but still can't understand.. some1 help me?

Member Avatar for stultuske
0
105
Member Avatar for rthcupid

Hii All I am a biggner with java programming Now I assigned with a arogram to [COLOR="red"]"display multiple images and its name on particular location on a frame. (Hint Use Image class and ToolKit classes of java.awt.* package) "[/COLOR] plese help me to do this

Member Avatar for Ezzaral
0
142
Member Avatar for Blackeagle

Hey, i'm trying to use the method [ICODE]getValueAt(int row, int column)[/ICODE] from [ICODE]Class DefaultTableModel[/ICODE]. This method returns [B]Object[/B] value, but i want to get an [B]int[/B] value. so can anyone suggest what class to use in order to convert the [ICODE]Object [/ICODE]value to [ICODE]int[/ICODE] ?

Member Avatar for Ezzaral
0
134
Member Avatar for pablo25

Hi I was hoping somebody could help me I have installed the s60(nokia) java on my laptop and i am trying to get the helloworld program running. The javac and preverify are working. But when i go to the directory for the program helloworldplus i am getting 32 errors when …

Member Avatar for pablo25
0
194
Member Avatar for pablo25

I have just downloaded j2me and i installed it in C:\ but when i create a midlet it stores the project in C:\Documents and Settings\username\folder... i changed the path env varbls but to no avail.. if i want them in a folder that this tutorial below describes( ie. in the …

0
81
Member Avatar for babusek

Hi Folks, Here is the Question for u ? ;) Is it possible to a Run a [B]Unix Shell Script File Using java Program [/B](ex: using Runtime ,process class etc....);) my Shell Script File Contains So many Commands (like find ,sed,awk,convert etc..) [B]----->[/B] I would like to run this shell …

0
101
Member Avatar for PCheema

Using Tomcat 5.5, JRE 1.6.07, Jdk 1.6. JNDI: mySQL DATABASE. I used eclipse to develop the application. I think it is a classpath problem but as i am new to Java i havent a clue where to start digging. I am not quite sure if i am supposed to have …

0
76
Member Avatar for janamrob

[B]Hi, I'm new in java. Can someone help me with this problem. I've attempted it and the code is as shown after the questions:[/B] [B][U]Question:[/U][/B] 1. Create a new Movie class which has two properties, title and rating. 2. Create a new Cinema class, add method addMovieGoers which takes a …

Member Avatar for javaAddict
0
4K
Member Avatar for nidhi.juneja

can anyone give me idea of how to makse a mail server .. preferable in java... thanks ..

Member Avatar for stultuske
0
91
Member Avatar for winky

Hey everyone, I am trying to convert the members of a string into their integer values, but not ASCII values. For instance, if I have the string "12", I want the following portion of the code to spit out 3, but instead it spits out (49+50=99) for the ASCII values. …

Member Avatar for javaAddict
0
116
Member Avatar for Koldsoul

I am working on a program that reads in a text file as a command line argument, then goes through the file, breaking the file down into strings, special symbols (such as .:!;?) and integers. The program stores each type into its own collection. I have all the collection methods …

Member Avatar for Koldsoul
0
149
Member Avatar for Chaster

Hi, I have some project in which I have to deal with similar text files merging. Is there any java package for this task? If no, does anyone know how CVS (or any other version control tool) deals with such merging operations? I mean based on what? Any personal idea …

Member Avatar for Ezzaral
0
85
Member Avatar for W@n

Hi, i am currently working on a java assignment which require me to create a binary search tree and then get the value of the deepest node which refer to the last level of the binary search tree with level by level traversal. I did the insertion and level by …

Member Avatar for brianlevine
0
83
Member Avatar for priti_s

Hi I have come across a question in a collection which says: One can add a reference of a collection to itself. Is it true or false? I read the explanation that, we can add the reference to the collection to itself, but it results in the [U][B]stack overflow of …

Member Avatar for Ezzaral
0
120
Member Avatar for britto
Member Avatar for peter_budo
0
74

The End.