32,204 Topics

Member Avatar for
Member Avatar for rapchak

hi everyone. I am doing a project in jsp where i need to check the duration of logins of a particular client. If the client doesnot login for 6 months(say) his account should expire. For this purpose i am taking system date and storing it in sql database. I have …

Member Avatar for jwenting
0
126
Member Avatar for xyntex

please i am very new to all programming languagies and i have great intrest in being a sotfware developer. can you guys please tell me or give me the necessary notes. thanks

Member Avatar for masijade
0
67
Member Avatar for utkarsh.cse

hi. i recently implemented S-DES algo. Here is the code for key generation. [code] import java.math.*; import java.security.*; public class keyGenerator { int bitLength=10; int certainty=20; int i=0,j=0,tempInt1,tempInt2; long l; byte[] actual10Key=new byte[10]; byte[] permuted10Key=new byte[10]; byte[] permuted10KeyCopy=new byte[10]; byte[] cls10Temp1=new byte[10]; byte[] subKey8Temp=new byte[8]; byte[] subKey1=new byte[8]; byte[] subKey2=new …

Member Avatar for masijade
0
118
Member Avatar for punex

hello there..i just want to ask how to connect database written using MS Access to interfaces created using Dreamweaver... having headache since i need to build an online system and i don't know how to connect the database to the interface...thank you...

0
105
Member Avatar for kritersica

Hello!! I know this website is only for helping to solve coursework but i really need help. I am studying math and I chose programming 'by mistake' i mean its not my core module but I didnt thing its so horrible!!! So I have a coursework to do and if …

Member Avatar for jasimp
0
109
Member Avatar for Archana10
Member Avatar for jwenting
0
71
Member Avatar for Noliving

This is the first time I have ever had to do a simulation type program. This is what I'm trying to do: Your application should use an array of tellers (10 tellers would be a good maximum) but on any particular run of the simulation, any number of tellers from …

Member Avatar for VernonDozier
0
2K
Member Avatar for sneakerhead724

Hi so im a new memeber and i really need help with this problem. i have no experience on arrays and i have a test on it very soon =/ one of the problems on the test is similar to this one please help me solve it given the following …

Member Avatar for Ezzaral
0
79
Member Avatar for eng.atia

Hi all, I have a problem with Java GUI. How can I set a certain component to be in front of another component or behind it?! i.e. Is there a way to: SendToBack & SendToFront in java?

Member Avatar for Ezzaral
0
168
Member Avatar for rinkuchoudhury

how to use in [B]onmouseover[/B] and [B]onmouseout[/B] property for a ASP.Net2.0 control by using [B]javascript [/B]Suppose I want to show and hide an Image by taking and removing mouse over another control like Image, Label.... by using [B]JavaScript[/B] only

Member Avatar for ravichandra
0
109
Member Avatar for paurik

I am created a java intranet application. can any body tell me how to i install as service for mac os. I start application in window OS as NT Service. But i can't no how to start in MAC OS.

0
75
Member Avatar for ramjeev

Hi, I m trying to scroll the JLabel by adding JLabel to Jscrollpane,I can see the scrollbar,but I can't scroll as well as I found JLabel's are misplaced.Can anyone please help me to solve this. The following is the code, [code=java]class outerWindow extends JFrame implements KeyListener,ActionListener { Container c = …

Member Avatar for ramjeev
0
5K
Member Avatar for bmanoman

im trying to make a markbook program using j#. Where students insert their name, first name and last name, then their mark for class. i also want it to be able to make a class average for all the marks. i want to know how to be able to make …

Member Avatar for jwenting
0
80
Member Avatar for lstirk

Hi, ok heres what i am trying to do. I am trying to introduce an array of strings in the Server program to store up to 10 messages, which i think ive got done. If the array is full it should display a full buffer message. Then when the user …

Member Avatar for jwenting
0
94
Member Avatar for KimJack

Hello All, I am using a stringtokenizer to divide a string while comparing each word in the string to a specific word and pushing it onto a stack. I can push it onto the stack with no problems; however, I cannot get it to find the specific word. for Example: …

Member Avatar for jwenting
0
72
Member Avatar for abhi287

Hi I am developing an application in which i want to pass the data from one JFrame to another.. Actually what i want is like-- On my first frame i m displaying a blank JTable(Table1).. Now when i click on the first row from the table1 it'll generate new frame …

Member Avatar for jasimp
0
96
Member Avatar for Ymor

Ok i have some code which stores a subject, difficulty, correctAnswers, maxQuestions and date into a text file. Now when i want this file to be read i can display all the information with no problem, but i want it so the newest date is a the top. Heres my …

Member Avatar for Phaelax
0
95
Member Avatar for krish_kooll

i want to generate a query example: if the english question s given ->list all the details from my_table where name='smith' and age <30 it shld generate a mysql query for the question ->SELECT * FROM my_table WHERE name = 'Smith AND age < 30; using java as language

Member Avatar for jwenting
0
74
Member Avatar for abhi287

Hi I am developing an application in which i want to pass the data from one JFrame to another.. Actually what i want is like-- On my first frame i m displaying a blank JTable(Table1).. Now when i click on the first row from the table1 it'll generate new frame …

0
63
Member Avatar for denniskhor

try { FileWriter write = new FileWriter("CropSystemDatabase.txt"); PrintWriter text = new PrintWriter(write); text.println("TYPE OF CROPS = " + crop.getTypeCrop()); text.println("SEASONS = " + crop.getSeason()); text.println("NUMBER OF ACRES = " + crop.getNumberAcre()); text.println("CROPS CHOSEN = " + crop.getCropChosen()); text.println("TOTAL FERTILIZERS = " + crop.getTotalFertilizer()); { text.print(" "); text.print(" "); text.print(" "); …

Member Avatar for javaAddict
0
129
Member Avatar for antony_24

Hi , I developed a multi threaded application for web office automation using Java. I got a bug in transferring multiple files and it seems to be a race condition. . Can anyone help me to solve this bug?

Member Avatar for darkagn
0
35
Member Avatar for jagan mohan
Member Avatar for kilermage

I get an error about "orphaned case". So this is the error. Can you help me on what I did wrong? [ICODE]client.java: 8643: orphaned case case 117: // bank 5 items - sell 1 item ^[/ICODE] This is the code: [CODE] case 117: //bank 5 items - sell 1 item …

Member Avatar for VernonDozier
0
394
Member Avatar for Parsu7
Member Avatar for jwenting
0
82
Member Avatar for grDCpre

We've just noticed a glitch in our software that allows undeliverable emails to be bouncing around in our servers, is there a way to catch these undeliverable emails after x amount of time? We use resin for our applications, and I've read a little about their catch setBounceAddress method, but …

Member Avatar for jwenting
0
64
Member Avatar for spywx2003

i have a question about JFrame. is there anyway to set the size of frame as automatic depending about the values in the frame.so if the values is a lot more than what is expected that frame adjust it self it fit all the data ?

Member Avatar for jwenting
0
93
Member Avatar for wouterdc

Hello, I have a problem setting a default button with Java Swing. I have a JFrame containing one JPanel and one JMenuBar. This panel contains some textfields, a list and some buttons. At the button there is one button which has to be the default button. I also gave the …

0
80
Member Avatar for sasidharnet

[code=java]class WrapperTest { public static void main(String[] args){ Byte b = new Byte(3); Short s = new Short(34); } }[/code] when I try to compile this is the problem I got [code]G:\WORK PLACE\work>javac WrapperTest.java WrapperTest.java:4: cannot find symbol symbol : constructor Byte(int) location: class java.lang.Byte Byte b = new Byte(4); …

Member Avatar for sasidharnet
0
153
Member Avatar for Srimali Fdo

Hi, I'm creating a Java text editor using VB .NET. So far, I have been able to run Java programs with a graphical user interface, but I cant get the output of a program that prints to the console. The console appears and then immediately disappears. How do I get …

0
60
Member Avatar for Leoykl

The End.