31,001 Topics

Member Avatar for
Member Avatar for shaikh_mshariq

I am developing a program to gather information from the client. I have apache tomcat web server and all the client have one client program to communicate to the server. I want to make this connection http for security reason but i know how can i do this. It is …

Member Avatar for vpcse
0
262
Member Avatar for Shveetis

Hello everyone.. I need to retrieve the number of classes loaded from the MBeans and I am facing problem with the same... Is there any specific package to be imported?? I am unable to work it out though it is really simple.. Thanks in advance...

0
71
Member Avatar for piers

For the guys who helped on the card.java file I did thnaks a lot I got that done. I have now moved onto the next part of that and have to complete this skeleton file. this is the spec for this file. [QUOTE]This class has two attributes: an array of …

Member Avatar for Ezzaral
0
151
Member Avatar for Shveetis

Hello everyone.. I am trying to retrieve a URL of applications from a text file... My text file contains 3 URLS for 3 applications say for example : C:/ABC.java C:/JVM.java C:/Tomcat.java I have tried implementing a code for the same but when I try to copy the URL into a …

Member Avatar for Phaelax
0
96
Member Avatar for fatjoy25

import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.awt.Graphics; import java.lang.Math; import java.applet.Applet; import javax.swing.event.*; import javax.swing.event.*; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; public class Maint extends JApplet implements Runnable,ActionListener,MouseListener,MouseMotionLi stener { /* Declaring the variables.*/ JPanel panel; JPanel textAreaPanel; Point dot[] = new Point[1000]; Point start, end; int dots = …

Member Avatar for Ezzaral
0
96
Member Avatar for King_Walnut

I'm making a vending machine .. and everything's pretty much together, I just have a few problems that I don't have the faintest clue how to fix Firstly, when I choose a snack, the price of the thing comes up fine, no bother. But if I start to pay, then …

Member Avatar for Ezzaral
0
131
Member Avatar for narendra_jntu

I am very new to java . I am having some confusion in java versions. Actually what is java2 java 5 ,jdk1.5 alot of confusion i am having . Is there any special meaning in that. What j2se,j2me,j2ee. What is the difference among them. Is there any special purpose for …

Member Avatar for Phaelax
0
101
Member Avatar for javaStud

I am trying to do a primary key so that each member can't hava the same ID and if th same ID is entered an error is give. Can someone please help me cause I can't do it at all.Thank you. [CODE] static void addMember(ArrayList<GymUser> UserListIn) { String tempUserrID; String …

Member Avatar for javaStud
0
93
Member Avatar for ttamilvanan81

Hai, i am tried to use the SQL Server with Java and Tomcat 5.0 Application Server. I am using the JDBC Driver for Java connecting with SQL Server. I m using SQL Server 2005. But the JDBC Connection doesn't create. I have used the following code for java database connectivity …

Member Avatar for sabindas
0
408
Member Avatar for alejalv

so i wrote this recursion program that uses memoization to calculate the fibonacci numbers. it's supposed to scan a user inputted number, call the method, check to see if the number is in the array, if not store it, ad increment the counter. so i should end up with the …

Member Avatar for DangerDev
0
90
Member Avatar for javaStud

In this method I am trying to locate a user by its ID and then remove it. I am having errors in the second if statment (cannot find symbol-method getID() ). [CODE] static void removeMember(ArrayList<GymUser> UserListIn) { Scanner keyboard = new Scanner(System.in); keyboard.useDelimiter("\n"); System.out.print("Enter the ID no of the member …

Member Avatar for javaStud
0
78
Member Avatar for alejalv

hey guys, i have a project due tomorrow on recursion. the task was to write a recursive program that prints the value of fibonacci numbers and the number of calls made. i wrote the program and it returns the value at the end just fine, but i have been unable …

Member Avatar for DangerDev
0
84
Member Avatar for ysong

Tried to zip multiple files on the fly in java servlet with zip package (ZipOutputStream), so users can download the zip file by calling the servlet. It works fine for small files. But occasionally the browser stops the download before completion when users invoke the servlet action, and the zip …

0
55
Member Avatar for elcorillord

I have to basically write a fuction that does the inmemoized recursion and count the number of times is called..which i did.. the second part is that i dont understand which is to create a global array of 100 and calculate the function using memoization... can some one help..this is …

Member Avatar for alejalv
0
88
Member Avatar for javaStud

Hey all. I am having some problems in my project work. I am trying to this 'transaction' class in which the user enters his personal details.Now all I want to do is that when I create a new account for the user, I must also know the date when the …

Member Avatar for javaStud
0
88
Member Avatar for Reena Balu

Hi, I am new to PHP. I have a login and logout pages are in php. i have to pass the user id or the session to my jsp page. The id should not pass in the url for security purpose and also the browser back button should not work …

Member Avatar for jwenting
0
56
Member Avatar for paurik

ERROR: All the code compiles without any errors or warnings. On Calling the native method FindOs from Java code, i get the following error: # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1026f8e0, pid=3484, tid=2192 # # Java VM: Java HotSpot(TM) …

0
48
Member Avatar for Ankita B

Hi, Im writin the followin code to connect with oracle `database.im` also using toad .I keep geetin errors even if i declare `private String AQC1_UID = "";` and so on.. import java.sql.*; public class Login { public static void main(String[] args) { String AQC1_UID = ""; String AQC1_USER_PWD = ""; …

Member Avatar for Ankita B
0
122
Member Avatar for suzy_naresh
Member Avatar for javaAddict
0
79
Member Avatar for Acidburn

Hey guys, I've got an input stream from the keyboard and wanting to know how much time passes between when the user enters something to when the user next enters something. That makes sence? Ive got a class called Timer [code] public class Counter implements Runnable { boolean startTimer = …

Member Avatar for Ezzaral
0
76
Member Avatar for new_2_java

Hi all, I would like to execute an OS command like "cls" from my Java program, and am getting the following error: [code] D:\ext>java FileExtractionConsole Exception in thread "main" java.lang.NullPointerException at FileExtractionConsole.startExtraction(FileExtractionConsole.java:46) at FileExtractionConsole.main(FileExtractionConsole.java:33) D:\ext> [/code] Here's the snipt of my code: [code] public class FileExtractionConsole { public static void …

Member Avatar for new_2_java
0
258
Member Avatar for fatjoy25

import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; import javax.swing.event.*; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; public class MyPaint extends JApplet implements Runnable { /* Declaring the variables.*/ JPanel panel; JPanel textAreaPanel; JTextArea drawTextArea; JScrollPane drawScrollPane; JLabel line, color, paint,kid,cil; JButton circle, rect, poly, ellipse; JComboBox cbLine, cbFill; GridBagLayout g; …

Member Avatar for jwenting
0
73
Member Avatar for KimJack

Hello All, I have absolutely no experience with linked lists. I have an array of Animals that I am trying to reference from a linked list located in another class. Can anyone point me in the right direction for starting this program? Any assistance would be appreciated. Thanks

Member Avatar for ~s.o.s~
0
95
Member Avatar for ajithraj

haiii friends... pls help me to solve this... I have a listbox set to multiple. I can't get the values from this listbox. <html:select property="relationalOperator" multiple="true" size="9" styleClass="LABEL"> html:options collection="relationalOperatorCombo" labelProperty="name" property="id"/> </html:select> And, i want to get the value of selected one....During a single click it will go to …

0
53
Member Avatar for fatjoy25

import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; import javax.swing.event.*; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; public class MyPaint extends JApplet implements Runnable { /* Declaring the variables.*/ JPanel panel; JPanel textAreaPanel; JTextArea drawTextArea; JScrollPane drawScrollPane; JLabel line, color, paint,kid,cil; JButton circle, rect, poly, ellipse; JComboBox cbLine, cbFill; GridBagLayout g; …

0
49
Member Avatar for reiyn17

hey guys.. can you help me explain this code? public Boolean insertAfter (double key, double dd) { Link current = first1 while (current.dData != key) { current = current.next; if (current == null) Return false; } Link newLink = new Link(dd); if (current == last) { newLink.next = null; last …

Member Avatar for reiyn17
0
129
Member Avatar for ehrugo

This applet I'm supposed to write needs to have a class that checks the range from the low number entered to the highest and gets and prints all the prime numbers found, as well as the whole number square roots, as well as the sum of the whole square roots …

0
48
Member Avatar for Shveetis

Hello every1... I am developing a project in JAVA.. My project is APPLICATION MONITORING WIZARD..!!! Can I get any help..?? Even if I get an idea as to how I start off, will be QUITE helpful.. The applications that I am planning to monitor include : 1.JVM 2.Tomcat server 3.Website …

Member Avatar for Ezzaral
0
83
Member Avatar for balaguru

i need a simple mini project using oracle 9i and java connectivity pls suggest me some topics and ideas ...give some other ideas than usual hotel ,hospital ,student managements ...pls i am in desperate need of it!!

Member Avatar for manu9719198933
-1
82
Member Avatar for fatjoy25

import java.awt.*; import java.lang.Math; import javax.swing.*; import javax.swing.event.*; import java.awt.event.*; import java.awt.Graphics; import java.applet.Applet; /* <APPLET CODE=draw.class WIDTH=600 HEIGHT=200 > </APPLET> */ public class draw extends JApplet implements ActionListener, MouseListener, MouseMotionListener { Button bDraw,bOval, bRect, bRounded,bHeading; Point dot[] = new Point[1000]; JComboBox cbLine,cbFill; Point start, end; int dots = 0; …

0
68

The End.