32,199 Topics

Member Avatar for
Member Avatar for Aamit

Hi, I want to learn spring,strut,hibernate... where i get simple and good tutorial for beginners. which framework /tools/IDE to download. or books .. what other basic language needed to learn like to learn c++ background of c please give me all details?? Thank you

Member Avatar for peter_budo
0
128
Member Avatar for hopzta

I am having a difficult time with this one line of code for my homework that is due Sun.: Modify the Inventory5 Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item …

Member Avatar for BestJewSinceJC
0
92
Member Avatar for compscinerd69

The programming assignment is to implement a class Purse. A purse contains a collection of coins. Each coin object must contain its name. You should not put a limit on the number of coins that a purse can hold. This program should provide the user with the ability to display …

Member Avatar for BestJewSinceJC
0
1K
Member Avatar for slimmit

I'm trying to figure the topic out. To begin, lets say I have different sets of points in a file with the following format: 2 //1st number represents number of points within set 3, 4 //following lines are points 5, 6 3 3, 4 5, 6 6, 2 ..etc I …

Member Avatar for slimmit
0
87
Member Avatar for redmaverick

I am trying to execute this program, but I am getting errors this is the code [CODE] import java.util.*; public class DateUtils { static final int MILLS_IN_DAY = 24*60*60*1000; public static Date getCurrentDate() { GregorianCalendar currentDate = new GregorianCalendar(); currentDate.set(Calendar.HOUR,0); currentDate.set(Calendar.MINUTE,0); currentDate.set(Calendar.SECOND,0); return currentDate.getTime(); } public static Date createDate(int year, …

Member Avatar for redmaverick
-1
285
Member Avatar for zyaday

How do I creat one in JAVA? Is there a tool I can use in netbeans? thanks a lot..

0
84
Member Avatar for javaAddict

Just a quick question. No rush to answer, it is not important, I might discover it later myself, but just in case someone knows it: I have been trying to create a [URL="http://java.sun.com/javase/6/docs/api/java/lang/reflect/Method.html"]Method[/URL] object using this method: [URL="http://java.sun.com/javase/6/docs/api/java/lang/Class.html#getMethod(java.lang.String,%20java.lang.Class...)"]Class.getMethod(String name, Class<?>... parameterTypes)[/URL] like this: [CODE] obj.getClass().getMethod(methodName, Class.forName(methodType)) [/CODE] My problem is …

Member Avatar for javaAddict
0
145
Member Avatar for satin

HI.. Is there any tool available for creating an installable version of my web application which will ask for to bind tomcat , mysql with my application. So my final exe wil contain my web application,tomcat and mysql related files.

Member Avatar for peter_budo
0
101
Member Avatar for BestJewSinceJC

How can I check if an event is user generated? When the user clicks on a combo box and changes the displayed/selected content, I want the code in the itemStateChanged method to be executed. But I only want this code to be executed if the method call was due to …

Member Avatar for BestJewSinceJC
0
92
Member Avatar for aunahal2

Hi, I have been spending several weeks figuring this out but couldn`t find way to it. Here is what I am planning to do, I have a text file with several data in it, and I have to extract part of the data into a 2 dimensional array. Here is …

Member Avatar for VernonDozier
0
195
Member Avatar for BestJewSinceJC

[CODE=Java]java.util.Vector<EmergencyContacts.ContactInfo> contacts = Application.getPatient().readEmergencyContacts().readContactInfos(); for (int i = 0; i < contacts.size(); i++){ EmergencyContacts.ContactInfo info = contacts.get(i); } public Vector<ContactInfo> readContactInfos(){ return contacts; } private Vector<ContactInfo> contacts = new Vector<ContactInfo>(); [/CODE] As you can see, it returns a Vector of ContactInfo. Why would I be getting an error saying, "Exception …

Member Avatar for quuba
0
130
Member Avatar for KingsKidy

Hi All. Please I need your help. I have just started work as a Software Engr. I have a project at hand which includes placing different image icons on a JLabel component depending on which element of a JList is selected. I used single selection model. I tried using if-else …

Member Avatar for Ezzaral
0
112
Member Avatar for fr000nc

Hello all, I have an curious situation here: Let's say there is a web site using java applets (a very old one with all graphical primitives written from scratch). The problem affects several out of many machines (all Windows) connecting to the site. The problem is that when I open …

0
47
Member Avatar for PierreB

New to daniweb. How do I find a card game written in java @ daniweb? Thanks in advance

Member Avatar for VernonDozier
0
41
Member Avatar for britto

hi..... im trying to run c,c++ programs in linux using java code..... i have compiled the program and the .out file is also created.... im using the following code... [code] ProcessBuilder pb = new ProcessBuilder("gnome-terminal","-e",home+"/MyProjectFiles/"+filename+".out"); Process p = pb.start(); [/code] the problem is the terminal starts and closes after execution.... …

0
43
Member Avatar for mielcita

I'm reading in a file and I need to skip any lines of length zero or starting with '#'. But I keep getting null pointer exceptions later in the code because it can never tokenize. What am I doing wrong? Thanks in advance. Below is the relevant method: [code] static …

Member Avatar for javaAddict
0
134
Member Avatar for ellas

[TEX]I[B] am having a problem with my code it seems to endlessly loop with user input of two temps never ending. As I am a newbie at this could someone take a look at what I've got so far and fix what's wrong here are my two classes This is …

Member Avatar for alias120
0
1K
Member Avatar for Paul.Esson

The following method should swap the high nibble in a byte with the low nibble in a byte. The following code dosn't work if the lower nibble is above 0111 if it is it returns a negative number... Does anyone know what im doing wrong ? [CODE] public static void …

Member Avatar for javaAddict
0
281
Member Avatar for ajithraj

Hi I am using mozilla to test my application. I tested two subscription of my application in two different mozilla browsers simultaneously. Here I Found details are swapped. Because mozilla using the same Session ID for the two browser. This is a flaw in mozilla or whether this issue is …

Member Avatar for ajithraj
0
104
Member Avatar for NareshBabu

I want to develop an application. It should send my data base data to my mobile cell how can i do this. please help me -------i need the books and i need the location where i can get this application related info Thank you

Member Avatar for peter_budo
0
97
Member Avatar for JamesGuin

Hey everyone, I am new to Java and I use NetBeans to do programs. On my latest project I am attempting to code a program to read a input text file of format. ie. Attend class: 0 120 -one time event Push snooze on alarm: 0 1 3 5 - …

Member Avatar for JamesCherrill
0
93
Member Avatar for c_skyscraper

[CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class LoginScreen extends JFrame { JLabel userId; JTextField userIdT; JButton userIdHelp; WelcomeLogin welcome; public LoginScreen() { super("User Login Screen"); Container surface = getContentPane(); setSize(1024,750); setDefaultCloseOperation(EXIT_ON_CLOSE); setLocationRelativeTo(null); surface.setLayout(null); welcome = new WelcomeLogin(); surface.add(welcome); userId = new JLabel("User ID :",JLabel.LEFT); userId.setBounds(20,50,80,20); surface.add(userId); userIdT …

Member Avatar for Ezzaral
0
96
Member Avatar for d0813008

hiiiiii friends actually i m implementing binary tree in java,i have done this by passing node,but i want to do same usin array method,please help me .i have to do this within two days

Member Avatar for BestJewSinceJC
0
41
Member Avatar for Isy

Hi everyone, I need your help on deciding what type of mobile game should I create for my project, I will also need help on how to create a mobile game from scratch if anyone has good source such as website or books please let me know I will really …

Member Avatar for Isy
0
93
Member Avatar for ahoest

Hey, Does anyone know how I can draw lines between the textfields? If I ask for x and y then this is relative to the component itself.. Also now I have made a separate class but this means that when I draw the lines the textfields disappear they cannot exist …

Member Avatar for peter_budo
0
875
Member Avatar for Esben

Hello, I have several Objects in switch I need to set the text that should be in a string, ill show an example of how i have done it. It´s all made in a JPanel using NetBeans. private void comboBoxMajorChoosingActionPerformed(java.awt.event.ActionEvent evt) { comboBoxMinorChoosing1.addItem("English"); comboBoxMinorChoosing1String = comboBoxMinorChoosing1.getSelectedItem().toString(); } private void comboBoxMinorChoosing1ActionPerformed(java.awt.event.ActionEvent …

Member Avatar for peter_budo
0
86
Member Avatar for smita123

Hi all, Could you please sugest me some code for building the GUI to browse a file and to upload using Swing. Thanks,

Member Avatar for smita123
0
142
Member Avatar for vict0rjr

I'm creating a new class called album which is supposed to make an album and show pictures with caption. so.. Ok my problem is the methods section... i need help to set the array in the picture album and set the captions too can any one please help me out …

Member Avatar for peter_budo
0
98
Member Avatar for ajithraj

[B]is there any way to disallow more than one login [/B] I mean , in IE we can log in a yahoo Mail with a number of mail id at the same time...But this is not allowed in Mozilla..... I want to implement this(like that in Mozilla) restriction in our …

Member Avatar for ajithraj
0
92
Member Avatar for sammo5889

Hi, just doing a uni assignment and have completed a majority of it, just asking if someone could please proofread and help me out with the last line as i can't get it to compile. heres my instructions: All objects that float through space are instances of the SpaceObject class …

Member Avatar for zyaday
0
114

The End.