36,051 Topics

Member Avatar for
Member Avatar for metemostan

I am a begginer and i know almost nothing in java. our prof has asked me to write a program that computes 50 employees salary (normal,overtime and bonuses) ,print the result and keep a back up. can somebody please help me write the code.

Member Avatar for BestJewSinceJC
0
137
Member Avatar for srs_grp

I want to connect to sybase from java using jdbc:odbc bridge.. Which driver should I use like I have used "ODBC for Oracle" Plz help..

Member Avatar for Ezzaral
0
131
Member Avatar for dinkarkolhe

Dear Friends I have working knowledge of java. but when it comes to make a java reportsi don't know how to proceed. will any one help by guiding me or by providing me some tutorials to make reports in java. i am unable to visualize a solution. i don't understand …

Member Avatar for Ezzaral
0
85
Member Avatar for blumisa

Help .. I'm supposed to make a java program that will create an output of increament whre the last number is 10 and the series is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 .. it's like counting to 10.. we're supposed to use a do-while loop or …

Member Avatar for iyercb
0
86
Member Avatar for dmanw100

I'm a computer science major with a background in C++, not Java. My professor told the class that the Scanner class has a nextInt(), nextDouble(), nextFloat(), etc for every primative type. But whenever I try to use nextChar(), the compiler gives me an "undefined symbol" error. That means that there …

Member Avatar for stephen84s
0
377
Member Avatar for ezkonekgal

hello.. i really need help.. I don't know why i keep on getting an empty stack if i pop a token from stack even if user has already push a token into it.. [code=java] public class MStack implements Stack{ public Node top; public Node[] stack; public static int T[]; public …

Member Avatar for ezkonekgal
0
233
Member Avatar for kinjal1717u

i want to make one website in jsp.. ... can any one help me....about coding....plz....

Member Avatar for verruckt24
0
82
Member Avatar for priya_gurnani

actualy i need help i m making a software in java swing i hv a problem in retriving values from database in JTable, i m inserting values in database ms access it works, following is my code one is for database another one for table ..................................................................................................................................... [code] import java.sql.*; public …

Member Avatar for javaAddict
0
100
Member Avatar for l_03

hello guyz,,i just want to ask if you know a site that have a free ebook that would explain best the data structures..we have a problem to code..and it is about queues,,and sorting,,and i hope to find a best ebook that will explain best about the sorting and the queues,,,thanks …

Member Avatar for verruckt24
0
143
Member Avatar for mukesh.dagar

Dear Friends I have working knowledge of java. but when it comes to make a java projects i don't know how to proceed. will any one help by guiding me or by providing me some tutorials to make my first project in java. i am unable to visualize a solution. …

Member Avatar for verruckt24
1
108
Member Avatar for adityabakle

In a database program we configure the Access file through ODBC option provide in the control panel. Then we obtain the dns name of the database with wich we connect it to or application. This all is done explictly. I would like to know if this task can be done …

Member Avatar for omgargatte
0
112
Member Avatar for PPaul1

/*Write a Java program without a graphical user interface that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In this program, hard code the amount = $200,000, the term = 30 years, and …

Member Avatar for Jearline
0
719
Member Avatar for Alishaikh

Please help me, I need to turn this in tomorrow. I need to do it so I can make my stick figure move using arrow keys. I've made everything, but I don't know how to implement the keys. Can someone please guide me? And give me sample code and where …

Member Avatar for Alishaikh
0
453
Member Avatar for sumitpatki

Hi, I am getting a java.lang.NoClassDefFoundError for one of the classes in a IBM Jar file being used in our application framework project. This IBM JAR file is no longer supported by IBM but is used by one of the application framework projects. This jar file is not there in …

Member Avatar for sillyboy
0
114
Member Avatar for xabi

I'm an elder learning Java, and am somewhat a bit confused when it comes to algorithms and such like. I have had to create an application that when a user inputs a number of crazy frogs hit with a hammer, your points score is given back to you. If 2 …

Member Avatar for Ezzaral
0
124
Member Avatar for sgbender

Hi, I am kind of new to JSP. I am having trouble outputing something: <%=request.getParameter("UserName")%> now if [I]UserName [/I]has special Characters (i.e &hearts; ) it does not get outputed corectly. that code above should display the heart symbol, but instead I get something like this: âÂ... is there some kind …

Member Avatar for dreamer14
0
2K
Member Avatar for Coyboss

I think I have 90+ percent of the coding right for this but I am having an issue with the program stopping after the "welcome to payroll program statement" I can't figure out what goes after while on the liine after the boolean stop line. Any help would be greatly …

Member Avatar for Coyboss
0
575
Member Avatar for localp

i am trying out this code that i got from one of suns tutorials, it deals with echoing an input back to the command prompt. this is where i got the code [URL="http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html"]http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html[/URL] this is my code, and i am getting the message [COLOR="Green"]"Couldn't get I/O for the connection to: …

Member Avatar for localp
0
228
Member Avatar for caps_lock

Hello My recursive file scan is not doing what I want it to do. I want it to be able to go through all roots (drives)... With no user intervention, so without including "C:\\" or "." as a string in the source, or without a TextIO.java class. [ICODE]import java.io.*; import …

Member Avatar for caps_lock
0
188
Member Avatar for mca_satbir

"Hi this is Satbir Singh doing a job in a insitute as a trainee for c cpp java etc. But i have some appllication programs that is being difficule to solve for me in java . Would somebody plz help me for solving these problems that i m atteching with …

Member Avatar for javaAddict
0
106
Member Avatar for neeraj_jaggimca

Helo Friends please help to me to make this code work properly. this is the jsp page on which i retriving the data from table Userpassword to validate the user's "username and password"and for this i uses the if else condtion and when i execute this code its always prints …

Member Avatar for verruckt24
-1
98
Member Avatar for proloyganguly

I'm facing a problem in our application. In application we are using JSP and Java Beans. Some data are not saving properly according to session. Suppose, User 1 has been logged on. Some field values of user1 has been set in a session within the JSP page . When we …

Member Avatar for stephen84s
0
127
Member Avatar for khalidmehmood

Hi Experts! I am trying to develop a web application in JSP. I want to implement the checkboxes with my records. when a user select multiple record and press delete button selected records should be deleted. best regards Khalid Mehmood

Member Avatar for peter_budo
0
91
Member Avatar for jellyfish888

Hi! I am new at documenting my system and I hope someone can shed some light on me regarding classes...I don't really know how to build classes... this is the scenario of my system...It is an online syllabus system wherein the user can download the syllabus freely... The system will …

Member Avatar for stephen84s
0
99
Member Avatar for PhiberOptik

Hey guys, I'm creating this as an admin program for another program I've made. Basically all that happens at this point is show a bunch of buttons and the titles of the buttons are the computers that the using accounts from my MySQL database. This is just the panel, but …

Member Avatar for PhiberOptik
0
111
Member Avatar for deepak777mishra

Hi i m working on project "Apriori algorithm simulation" on java. Can anybody tell me which r the neccesary software tools is needed.means which software needed

Member Avatar for BestJewSinceJC
0
46
Member Avatar for fomi101

I have to sort the bars but i have to show them sort, by delaying it. Can someone help me add delay to make it work. I used Selection Sort --- [code] import java.applet.Applet; import java.awt.*; import java.util.Random; import javax.swing.*; public class SelectionSort extends JApplet { //Variables and arrays Rectangle[] …

Member Avatar for BestJewSinceJC
0
57
Member Avatar for guneet singh

hi i m working for my college project . topic is network monitoring...i hav decided to use proxy server,but i want that any user who want to access internet must be first redirected to my login page which is stored in server... i have proxy and login page but my …

0
56
Member Avatar for srs_grp

We want to write byte array to a file.The code given below works correctly for only one byte array.When we try to write more than one byte array,the previous byte array gets overwritten. How can we achieve this? [code] import java.io.*; import java.nio.*; import java.util.logging.FileHandler; import java.util.logging.Level; import java.util.logging.Logger; import …

Member Avatar for ~s.o.s~
0
147
Member Avatar for fanatic

Hello I am having problems with parsing a String array so that i could format it in a way that i could convert it to an integer. Here is piece of the code: [code=java] String names[] = something.toArray( new String[something.size()]); String strNames= new String(); String parse = new String(); for …

Member Avatar for fanatic
0
109
Member Avatar for gauravmishra

I have a java program that take snapshots of my screen at say 10 pics per second i want to send it to another computer in the same sequence i tried to send images by writng them one by one on the outputstream OutputStream os=incoming.getOutputStream(); ImageIO.write(img,"jpg",os); but i am able …

Member Avatar for ~s.o.s~
0
960
Member Avatar for kevintse

Well, I know there are so many IM services. and that I want to build an IM system is just for practicing my programming skill. Here there are several questions that come up to my head when starting to design it. As far as I know, we can only receive …

Member Avatar for PoovenM
0
144
Member Avatar for IMtheBESTatJAVA

I was given a movie list, and I was asked to make a program to retrieve information from it and eventually modify the program to find certain movies. Right now I have a Collection class and a Movie class. The Movie class look like this: [CODE] import chn.util.*; import apcslib.*; …

Member Avatar for peter_budo
0
851
Member Avatar for bulger2503

Hello from Australia =] My question is rather simple but confusing. When i create abstract classes i alway create them so it can be extended at a later date by a normal class, The ByteBuffer in the nio package is unable to be extended due to its private constructor. In …

Member Avatar for ~s.o.s~
0
251
Member Avatar for fantasy416

How can i sort a file when given a list of various countries and their population size in two different files... How can i sort them together so that the output shows country and population... please someone help me is for a assignment??? thanks

Member Avatar for stultuske
0
99
Member Avatar for paucki

Hello ! We, a group of 3 persons, Omar, Neil and Paul, will be working on a java-project for university, until january 21. It's our first GUI-program, we have decided to develop a slideshow following these ideas: for another subject on university we will install an online-picture-gallery based on PHP …

Member Avatar for stultuske
0
142
Member Avatar for rpjanaka

hi all im janaka priyadarsahana i want to write actions for buttons. i have 4 buttons and when they click i want to do four seperate things for this i have several options 1. create new class by implimenting Action listener interface and using an object of that class, can …

Member Avatar for stephen84s
0
94
Member Avatar for chicago1985

For my Java class with resultset I am trying to get the request.getParameter value. Please advise if this is the correct way use the request object in a Java class because I cant seem to get any data from the request object. [code] ... import javax.servlet.*; import javax.servlet.http.*; ..... HttpServletRequest …

Member Avatar for PoovenM
0
211
Member Avatar for tulsi_apr03

In Project Contains huge data. In a table nearly 1.5 lac records are there.Those records Contains First Name,LastName,and Father Name. My problem is to find duplicate Records based on the names. Moreover i want to search these records Quickly. any solution is there for quick accessing Can anybody give the …

Member Avatar for PoovenM
0
149
Member Avatar for peter_budo

I know I should probably post this in Web Services of Web Development, but this may be beneficial to others that are trying to lean something about it too. I'm getting lot of strange behaviour from this assignment that at this point I'm willing to throw it away and never …

Member Avatar for peter_budo
0
195
Member Avatar for rzeta

I need to help in the project I mention below: The project involves the simulation of a cockroach jumping pathway that accidentally dropped from the aspirator unit onto the center of a hot plate of a hamburger parlor. Due to hot plate temperature (220oC) the bug jumps randomly anywhere being …

Member Avatar for BestJewSinceJC
0
69
Member Avatar for darylesha

I have researched and have not come up with any examples and no answer as to how to do this. Please help... The molecular2.java does all the computation. I will only include a snippet of it. This file is like this because I needed to return multiple items and could …

Member Avatar for peter_budo
0
192
Member Avatar for alpha_gamma

Hello, I tried to run a probram from the book "Big Java" by Cay Hortsman that parses an XML document. I typed in the line in Eclipse and it gave me a red box error message saying "the import java.xml can not be resolved". This tels me that i do …

Member Avatar for Ezzaral
0
151
Member Avatar for rude04

i want to use a JButton with a rollover sound..so created a button with a sound using adobe macromedia flash... how can i display it in the swf button in jpanel?? here is the button..[URL="http://www.mediafire.com/?p2kbme0czgn"]button.swf[/URL] [code=java] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class MyPanel extends JPanel { …

Member Avatar for rude04
0
163
Member Avatar for reeshtea

Friendz, ... Have you ever do the practical about generating random number using Java in J2ME environment before ? What do you think about the suitable algorithm to be used ? I ever heard that using Blum-Blum-Shub algorithm is provable secure but in implementation, it would be so...heavy. Do you …

Member Avatar for verruckt24
0
81
Member Avatar for jammiedude

Hi, i am having trouble with java applets and uploading/downloading files. The first problem i cam across was when i wanted to upload a file to BT vault which uses a java applet to do so. When i did this i was getting to 50% and then failing. I was …

0
116
Member Avatar for mercury113

[ICODE] if(e.getSource() == choice2) { if(choice2.getSelectedItem().equals("Monitor")) { choice2.setBackground(Color.GREEN); hidebutton++ score++; } else { choice2.setBackground(Color.RED); } choice2.setEnabled(false); }[/ICODE] i have this code here... why do when i apply this method the score is incremented to?? would you plzz help me.. whAt is wrong 2 da Code... 4 example i have a …

Member Avatar for stultuske
0
88
Member Avatar for i_rajivarora

hi all, I have a java application and i want to interact means start and stop control with IE browser toolbar button. Java code is working for fetching the URL of that browser. Please help me out!!!!!!!!!!!

Member Avatar for stultuske
0
32
Member Avatar for dawnzz21

hello..good dAy.. im Dawn a Fisrt year college student... i and my classmates will be joining a CodeCamp in our school..and it is a 3 days live in activity.. and it is a open source programming contest.... Its all about (JAVA GUI ) i would like to ask a help …

Member Avatar for stultuske
-1
103
Member Avatar for trailmaxusa

Can you make a jar with a java database application work outside of NetBeans 6.5 IDE? The application has the included in the library folder: 1. appframework-1.0.3.jar 2. beansbinding-1.2.1.jar 3. derbyclient.jar 4. groovy-all.jar 5. swing-layout-1.0.3.jar 6. swing-worker-1.1.jar 7. toplink-essentials.jar 8. toplink-essentials-agent.jar Application works with IDE running with the Apache Derby …

Member Avatar for verruckt24
0
112

The End.