35,618 Topics

Member Avatar for
Member Avatar for palcham

calculate the date difference between two dates exclude the saturday and sunday(Please dont calculate saturday and sunday between two dates)

Member Avatar for masijade
0
486
Member Avatar for jeneal

I am having an issue getting my program to run. It is a program to add an address to a text file. If the user does not know the zip code or city, they can enter the one they do know and it searches a 2d array for the corresponding …

Member Avatar for jeneal
0
48
Member Avatar for claudiu_is

This is more of a JSF problem, but the solution I want is in Java (beans). I want to build a session based application and I'm having trouble finding a good tutorial which states all the steps, from the beginning to the end, leaves no gaps for me to fill …

0
83
Member Avatar for sunny_b

Hi, my name is sunny, i need help with my java project urgently. Could anyone help me? i would be grateful if anyone could help. here is a link to the task [URL]http://n.1asphost.com/jaz08/[/URL]

Member Avatar for jwenting
0
269
Member Avatar for bahati

hi everyone i hope you could help me out i need to develop a software for the library system we are currently using a manual system and i would like to generate a java code that will capture my reqirements could you help me with a simple code

Member Avatar for jwenting
0
62
Member Avatar for slayer10

ok, what i have is a parent class, eployee, with 5 child classes, Doctor Surgeon Nurse Janitor and Receptionist. on my form i have a buttongroup for when the user selects one of those 5 jobs. when the user selects one i want to create an instance of that object, …

Member Avatar for javaAddict
0
109
Member Avatar for im_desperate

Hey i have to write a program that will prompt the user to write sentences and those sentences will be written until the user type "stop". i though of doing such a thing but its not doing what i want because i want each input to be on a new …

Member Avatar for im_desperate
0
138
Member Avatar for eleonora

Hey i have to create a 2D array of rows and columns which will takes a row and a columns as a paremeter and enters a string into that positions. I managed [i think so] to create the array but i cant find a way of getting from the user …

Member Avatar for eleonora
0
393
Member Avatar for orcboyx

I cannot get the bullseye to replicate itself 5 times even though I've already set the count to 5... any suggestions? import java.awt.*; public class Bullseye { /** Creates a new instance of Main */ public Bullseye() { DrawingPanel Target = new DrawingPanel(300,400); Graphics g = Target.getGraphics(); bullseye(g,100,100,50,5); } public …

Member Avatar for orcboyx
0
748
Member Avatar for majestic0110

HI all, this app is a simple game where the objective is to avoid incoming balls (adversaries) however at present I can only figure out how to get one ball on screen at a time. What I'd really like is, when a player hits 100 points, a second ball is …

Member Avatar for majestic0110
0
116
Member Avatar for 71monaro

The brief ive been given is to write a Java prg to take some command line arguements of the form JavaProg -n[anInt] -o[inputFileName] -o[outputFileName] -s[aStringWord] and then use them. Now I understand very basic args[] use. But in the brief there may be missing args and placed out of order. …

Member Avatar for masijade
0
106
Member Avatar for Jananee
Member Avatar for radha_athithan

hai, I need complete java code for image to binary conversion. Please help me.

Member Avatar for raja baba
0
88
Member Avatar for claudiu_is

I'm having a session problem with jsf. I've googled abut sessions and none of the results answer this question: what happens when a user logs in, copies the link, logs out and pastes the link in the browser? They say that I should validate the user when the page loads …

Member Avatar for claudiu_is
0
97
Member Avatar for sandy183

hi, i'm trying to build a web page which permits the user to login before accessing the contents of the site. the login works fine (i did it using jsp), but i am not able to logout properly, that is, when i click on a "logout" hyperlink, it sends me …

Member Avatar for shajidbasha
0
228
Member Avatar for shweta797

hi, my problem is that i have a database where i have stored information month wise of various user and i want that user details in month wise and its shows too but when its move to another column like means in next month like jan to feb its creats …

Member Avatar for shweta797
0
118
Member Avatar for eleonora

does anyone knows how can i create an array that will get parameters from the user row and column and with a method to fill with strings the rows and columns and after that to print it out. i tried several things BUT nothing works :( if anyone knows how …

Member Avatar for masijade
0
86
Member Avatar for guccica

Hi all, would need your help on unzipping message which is zipped with java.util.zip. For your information my module was written in c++. Currently i am trying to unzip with zlib, how ever it failed with "Z_DATA_ERROR" error. Please advice.. thanks a lot. regards brandon

Member Avatar for guccica
0
119
Member Avatar for new_2_java

Hi all, I am new to java. I am writing a program and I would like to read some inputs from user, when the program is run. Can someone give me some hints on how can do this... Thanks.

Member Avatar for new_2_java
0
92
Member Avatar for tactfulsaint

Please i need help with a code that can help me add an item to cart take me to the next page and i will still see thesame item i choose on the shooping cart.

Member Avatar for jwenting
0
56
Member Avatar for majestic0110

Hi there, I am experimenting with game design and have met an obstacle. I am trying to paint the background of this simple game I have coded but cannot seem to find out how! any help would be much appreciated!

Member Avatar for majestic0110
0
89
Member Avatar for jimm00.kl

Hello friends , i am jimm . I have some doubts regarding Java Basics. If anyone interested in Java basics..please help me out to find out the answers. What is a java source file ? can you please describe ?

Member Avatar for jwenting
0
172
Member Avatar for saranya_arun

I reterived a set of records from the database using a j2ee applciation. i want to delete a record in from the ones that are displayed. is it possible to delete just by clicking a button on the same page where the results are displayed? can someone help me on …

Member Avatar for jwenting
0
61
Member Avatar for hidash_in

hi all, in the below code is used to open a file with its corresponding application.the file with application is opening but the data is corrupted. pls help to open the file without data corruption. advance thanks <% // fname is the file name String filePath=savefile; File f = new …

Member Avatar for masijade
0
427
Member Avatar for parthiban

Hi all , I had created a Document using jTextPane which I will use as a Template to create customize ones . For eg : I will create something like this in a Document using jTextPane Hi [B][I][U]<name>[/U][/I][/B] and I will open this Document in another jTextPane to replace <name> …

Member Avatar for parthiban
0
148
Member Avatar for im_desperate

Hey i want to create a [B][U]vector[/U][/B] in order to store circles in it. i did something but im getting a warning error "java uses unchecked or unsafe operations" if anyone knows whats going wrong let me know thanks in advance! [CODE] import java.util.Vector; import java.awt.*; import java.awt.geom.*; public class …

Member Avatar for majestic0110
0
141
Member Avatar for kindheart07

Hello everyone, please i am new to progamming in general and i have a project to submit this friday i have been trying to find a way to write the codes but all i keep getting is errors and another problem is one of the program i have to write …

Member Avatar for Acidburn
0
136
Member Avatar for abar_sow

what may be the reason for the following message? D:\program files\Java\jdk1.5.0\bin>java FindNoun java.lang.NullPointerException at java.io.Writer.write(Writer.java:126) at ReplaceText.saveOutput(FindNoun.java:92) at FindNoun.main(FindNoun.java:109)

Member Avatar for masijade
0
119
Member Avatar for jsmith9990

Hai . I'm Smith. In this section We have to discuss about JSP. I want to know more about JSP.I thnk the people interested in JSP will help me out to find out some answers. How is a JSP processed ?

Member Avatar for samtben111
0
87
Member Avatar for ivabigun

Hi guys, I am working on an encryption/decryption vigenere cipher at present. Ive been reading and writing to text files using integer arrays and then modding them together in order to get the full ASCII character set. the problem i am facing is, when i am encrypting, the spaces dissapear …

Member Avatar for indienick
0
98

The End.