35,618 Topics

Member Avatar for
Member Avatar for alsoumhi

hi guys, hope you are fine. I have project is about online form appliation , I have done half of the project, the part that the client login to the system and choose a form, filling the form , then sending to adminstrator a message saying one user has applied …

Member Avatar for peter_budo
0
87
Member Avatar for sciwizeh

Hello everyone, Someone I know asked me about a problem he has with a program he is writing. I know nothing about his code, but he is writing a keyboard program, with the midi synthesizer in the sound api. what I do know is that he is using note on …

Member Avatar for sciwizeh
0
170
Member Avatar for joewazen

Hello, I have many jsp applications connected to Apache Tomcat 5 and IIS 6 i need to find a way to limit the number of active users in each application either in tomcat or in IIS, i know there is a way to configure server.xml in tomcat but will that …

Member Avatar for joewazen
0
98
Member Avatar for Aglet_User

Hello all; I'm new member in this forum. I want ask how have experiense in Aglet and using mobile agent. I need help Plz.. regards

0
45
Member Avatar for Web_Sailor

Hi, I am trying my hands on Java Regex. Here is my program below with the description of what I require it to do actually. The thing is that this MyKeyword May occur multiple times in a file. Also My program works for a file like this:- [CODE](\\S+)<tab>MyKeyWord<tab>(\\S+)<tab>(\\S+) (\\S+)<tab>MyKeyWord<tab>(\\S+)<tab>(\\S+)[/CODE] but …

Member Avatar for masijade
0
109
Member Avatar for NickyPhun

Hi, nice to meet you guys, i have a questions needs some helps from you guys, at the moment i have to get a title for my final year project, and i am totally got no idea in my mind, so can anyone give me some hints on the title …

Member Avatar for Rahul Bhat
0
177
Member Avatar for newjavastudent

Hi guys, could anyone tell me why my code cannot input contents into the file, thanks in advance.[code]import java.io.*; import java.util.Scanner; public class FileIO { /** * @param args */ public static void main(String[] args) { // public void writeToFile(){ try { File outFile = new File(args[0] + ".txt"); PrintWriter …

Member Avatar for freelancelote
0
83
Member Avatar for why1991

I have been trying to create a program that outputs four arrays created with random ints doubles chars and booleans. It will compile but when I run still gives me the same variables which have nothing to do with my input at all, but my char array works perfectly. [CODE]import …

Member Avatar for jasimp
0
80
Member Avatar for jamello

I have a challenge. I need to provide a solution that would enable me capture images of occupants of several motor vehicles scattered around a geographical area. These images could be still images or video transmitted over the web to my server in my headquaters. I can program in JSP, …

Member Avatar for jamello
0
86
Member Avatar for av_javabeg

could somebody help me creating a program through which i can control utorrent via bluetooth.. as in startin pausing or updating trackers and stuff.. could u please create 1 and explain me? plz

Member Avatar for Salem
0
116
Member Avatar for shen747

Hi all, I'm having trouble compiling a C++ project,which was originally written using the VC++, in Dev-C++. The problem is identifying the compiler errors that are incurred by the Min-Gw compiler(the default compiler that is shipped with Dev-C++) I've currently have converted the project(which is an opensource example of JNI) …

Member Avatar for Salem
0
171
Member Avatar for kat1

How to convert time zone of one place to the time zone of another place i.e how to convert time of one country to time of another country through java?explain with complete coding.

Member Avatar for quuba
0
35
Member Avatar for rajuchacha007

Hi, Does anyone know about any Java based API for communication in NDM (Network Data Mover, nowalso known as Connect : Direct). Please suggest. Regards.

Member Avatar for rajuchacha007
0
1K
Member Avatar for kahaj

I know that I don't have this just right, but I'm not sure how to get it just right. I've tried several different things and have been unsuccessful in all of them. Any tips? Also, by using [code]DisplayIntroMessage()[/code] near the end, will that bring up the method to begin the …

Member Avatar for roswell67
0
106
Member Avatar for slatk3y

I have worked with maps before and I have come to the point where I need to save a map when I quit an application and load it when I open application. How can I achieve this goal? Do I have to save it to a file upon exit and …

Member Avatar for slatk3y
0
146
Member Avatar for Cheesy74

I'm in the process of writing a 2D physics engine in Java, and am trying to figure out the algorithm for the most basic of all physics tasks: Object collision. Detecting collision between two circles is easy: check if the distance between their centers is less than or equal to …

Member Avatar for Cheesy74
0
116
Member Avatar for leverin4

I tried searching and couldn't find anything, so I'm sorry if this has been posted before. I need help aligning output at the command line. I want to make even columns, but can't figure out how to do it. Attached is a screenshot of my current output. I want the …

Member Avatar for PopeJareth
0
142
Member Avatar for lakshmi20

Write a program HollePrinter that switches the letters "e" and "o" in a string. Use the replace method repeatedly. Demonstrate that the string "Hello, World!" turns into "Holle, Werld!".

Member Avatar for roswell67
0
56
Member Avatar for jwdvorak

In the following method: [CODE] public boolean isMemberAlive(String userSsn) throws SQLException { boolean isMemberAlive = false; Connection c = null; Statement s = null; ResultSet rs = null; String strSQL = "SELECT Count(*) AS RecordCount " + "FROM crs.memmst " + "WHERE memmst_ssn = '" + userSsn + "' AND …

Member Avatar for javaAddict
0
1K
Member Avatar for endisbegun

hi, so im new to java, fresh off the c++ shores (what a nightmare programing is :p) and i have what should be a really simple assignment 1. The electicity accounts of residents in a very small town are calculated as follows: * If 500 units or less are used …

Member Avatar for jasimp
0
279
Member Avatar for progresspeter

hi I need somebody to tell me how I can package my java code for distribution and installation

Member Avatar for masijade
0
61
Member Avatar for AbiSuren

The following program works well.But it cant identify any null values present in the csv file. For Example if csv file contains "Suren,Java,Dojo,Hibernate,,Spring,SOA" .I reads first four strings properly but for fifth string instead of reading the null value it reads the sixth string. Pl. help. import java.io.DataInputStream; import java.io.FileInputStream; …

Member Avatar for masijade
0
153
Member Avatar for moyphus

Hi all, I need to subtotal the amount for all employees using extended data table...If there is any possibilities,.,.

Member Avatar for javaAddict
0
53
Member Avatar for kahaj

I'm having some trouble getting the times to show up correctly. inputTime is running fine, but neither displayStandardTime nore displayMilitaryTime is displaying. I've been playing with this for a couple of hours and can't figure it out. I'm probably missing something small, but it's driving me nuts in a big …

Member Avatar for kahaj
0
146
Member Avatar for kahaj

I'm toying around with Java trying to familiarize myself with the basic GUI stuff. I can't get my program or my text field inside of it to center on the screen. For the Simple... file, I've tried using the [code]theTextArea.setLocation(15, 30);[/code] and [code]//theTextArea.setAlignmentX(CENTER_ALIGNMENT); //theTextArea.setAlignmentY(CENTER_ALIGNMENT);[/code] seperately. When I have either of …

Member Avatar for kahaj
0
157
Member Avatar for sawant_nitesh

What is the best approach of writing java code in following 2...... ? What happens at jvm level in each case ? 1. [ICODE] for(int i=0;i<10;i++) { MyClass m = new MyClass(); m.doSomething(); } [/ICODE] 2. [ICODE] MyClass m; for(int i=0;i<10;i++) { m = new MyClass(); m.doSomething(); } [/ICODE]

Member Avatar for javaAddict
0
115
Member Avatar for Elektrikz

Hello guys. After some time searching around the forums for a thread about an e-book for crash course from C++ to Java and no luck I decided to post a thread about it. So my question is,does anyone has or knows such book? Thanks in advance.

Member Avatar for tux4life
0
282
Member Avatar for DigitalGirl

Hello :) I've been trying to compare to array lists with the following code: [CODE] final VideoObj v1 = new VideoObj( "A", 2000, "B" ); final VideoObj v2 = new VideoObj( "B", 2000, "B" ); ArrayList<Record> list = new ArrayList<Record>(); list.add(new Record(v1,1,0,0)); list.add(new Record(v2,3,0,0)); ArrayList<Record> list3 = new ArrayList<Record>(); list3.add(new …

Member Avatar for DigitalGirl
0
101
Member Avatar for alsoumhi

hi all, I have simple question which is how to access to servlets inside subdirectories of classes directory? I know that for one subdirectory inside the classes directory , you can access to servlets like this [url]http://host/servlet/packageName.ServletName[/url] but how about the servlet is inside one or more subdirectories? I have …

Member Avatar for masijade
0
65
Member Avatar for splurchner

I wrote this small program for a class im taking, and its supposed to take an int n and a radix (int between 2 and 16) r and give me the number converted to the new base. It only has to go from decimal to other radix's. I run my …

Member Avatar for splurchner
0
191

The End.