36,051 Topics

Member Avatar for
Member Avatar for ff4930

Hi, I am relatively new to C#.NET and I was wondering if the garbage collection is similar to Java. I am developing a windows form application and I am dynamically making new buttons, will they be deleted by themselves or will I manually need to delete them? For example: this …

Member Avatar for sarehu
0
134
Member Avatar for edmicman

Ok, I've got a newbish question that Google is turning up tons of different answers too....hopefully I can get some interactive input. I've been working in Microsoft shops doing web development for going on 10 years now. I'm very familiar with SQL Server and classic ASP, and that is what …

Member Avatar for sarehu
0
219
Member Avatar for ierpe

Hi, I have to develop a little launcher for mobile phone. What I want at this stage is having a login form that sends login and pass to the server, and then wait and receives the answer. I already installed NetBeans and the Java Mobile environment, with a sun phone …

Member Avatar for peter_budo
0
158
Member Avatar for sasirekha muthu

Hi, am doing M.sc Final year....i have to submit an assignment on java project which should be a real time project......but i dont know how to choose the project.....can u please help me to get a very good project in Java which will be useful for my Career........:( With regards, …

Member Avatar for peter_budo
0
100
Member Avatar for bob82

Is there a place where we can evaluate our jsp page code is in accordance with the sun "jsp coding standards"?

Member Avatar for peter_budo
0
65
Member Avatar for CoolGamer48

Hey, I'm starting out Java development, and I want to know exactly what I need to download. I believe I need to download the JVM, but what else? And I know there are IDEs like NetBeans where you can just press a button to build and/or run the program, but …

Member Avatar for ~s.o.s~
0
99
Member Avatar for warpath001

i am making a project using jsp and i am stuck with the signup page i want the user to enter its username , password, re enter password and a security question plz can any one provide me with the code or something i shall be very very thakful to …

Member Avatar for Acidburn
0
86
Member Avatar for regent_royal

Hi, friends I am developing project in which I get some data from the database which is already saved as HTML. I can get get whole data which is simple HTML but this database content is developed as below. Word file first created save it as the web content and …

Member Avatar for Ezzaral
0
166
Member Avatar for slmat27

Hey all, this is approximately my first post in this site. I was just a good reader for the things about JAVA right here. But now I'm facing a problem with JAVA and I didn't know what to do except coming here and ask as you might help (ISA). I'm …

Member Avatar for masijade
0
95
Member Avatar for pidven

i am new to java i am learning myself.i moved on to jvm i did'nt understanding it and ithat to searched google i found little bit confussion so can any one solve my problem thankingyou

Member Avatar for Acidburn
0
94
Member Avatar for esy928

Greetings! I was given a task yesterday to constuct a table like this: 5 4 3 2 1 4 5 4 3 2 3 4 5 4 3 2 3 4 5 4 1 2 3 4 5 using loops and only loops. I've been trying to solve this for …

Member Avatar for javaAddict
0
121
Member Avatar for kselvakumar_82

JSP Scenario: Login page containing user id and pwd text boxes, each having a key boad button (onclicking the key board button will take to key.jsp where the user can input values in text box) The keyed value in key.jsp text box should be returened to login.jsp in corresponding to …

Member Avatar for kselvakumar_82
0
137
Member Avatar for diasmvds

If anyone has an idea how to draw a dashed line using Java?? Graphics class seems to be not support a function for this. Thanks

Member Avatar for sanaulla123
0
2K
Member Avatar for Aamit

Hi...i m new to java.... problem defination:--- Book store is basically a collection of variety of books. Store has various sections like art, world history, literature technical, and so on. All books are categorized in to one of these sections. User should be able add/modify/remove sections and books. On selection …

Member Avatar for javaAddict
0
73
Member Avatar for ameettopare

how can we play mp3 in jsp page using struts framework? is dere any other way?

Member Avatar for masijade
0
69
Member Avatar for Ringed

Hi, recently, while trying to set up and IPBanning system (Please dont say how its "useless" or etc.) ive gotten a problem when i try to compile it. this is what it says: [ICODE]client.java:12371: cannot find symbol symbol : method appendToBannedIP(java.lang.String) Location: class client appendToBannedIP(p.connectedFrom);[/ICODE] and the full code of …

Member Avatar for masijade
0
119
Member Avatar for eranga262154

Hi all, I want to create a Java product developer. That means a tool to update an existing version of an application automatically. You guys/gals have any idea. If you know any example regarding that, please put a link here to see. I really appreciate that. Thanks a lot. :)

Member Avatar for eranga262154
0
125
Member Avatar for guerreronoli

hello, I've created an JAVA application that have an [U]Report[/U] I used [U][B]JasperReport[/B][/U] and I bundled it to jar file!.... but my problem is! when I click report button there is no action.... it supposed to be run the JasperViewer!...

0
66
Member Avatar for prashanthn

hello friend, i want to set my java class path. am using netbeans 1.6 version..... pls make me happy by giving the class path..

Member Avatar for sanaulla123
0
75
Member Avatar for allena
Member Avatar for guerreronoli

hello, I created an application that use another jar files!..... my application is connected to database and have a report!.... as we all know to connect a JAVA App. in mysql database it needs an connector!.... I configure it out!... my problem is I have another JAR files for for …

Member Avatar for Ezzaral
0
126
Member Avatar for ronojinx

Hi all, I have built some code that prints out directory files and non-diectory files. I want to get some help in indenting my code further to achieve level 5 indentation or further since now its up to2. Any ideas please?? Below is the code. I have 4 classes; [code=java] …

0
63
Member Avatar for rainny

Is anybody know that how to create a speech recogniton system? Any software need for recognise the speech? This is because I try many time with the simple speech recognition application, it have the error and cannot run. is it I need to use the IBM via voice software together …

Member Avatar for Ezzaral
0
87
Member Avatar for sayedjustetc

By Sayed, June 25th, 2008 * Single tier applications are easier to design. Single tier applications mix data, presentation, business logic altogether. It is easier design but workload distribution becomes difficult. Moreover, software maintenance becomes a big headache. * Multi-tier applications can address these challenges. Here, the application, hence, the …

Member Avatar for stephen84s
0
191
Member Avatar for Venks

My problem is I have my rmi server behind the firewall+nat enivironment: in the server i have 1: public ip: 11.12.13.14 2.local ip: 190.9.30.242 3.gateway ip: 90.9.30.240 i have assigned the public ip to java.rmi.hostname to public ip and registry. rebind (localip, objectreference). Server: try { System.setProperty("java.rmi.server.hostname","11.12.13.14"); System.setProperty("java.rmi.server.useLocalHostnameproperty", "local ip"); …

Member Avatar for stephen84s
0
463
Member Avatar for Venks

Hai Friends Iam using RMI concept for my project, i want to connect client and server by using internet connection , but its working fine on LAN connection, it gives following Exception [code] java.lang.RuntimeException: java.rmi.ConnectException: Connection refused to hos t: 125.17.11.229; nested exception is: java.net.ConnectException: Connection refused: connect at Client.init(Client.java:23) …

Member Avatar for Venks
0
224
Member Avatar for HeroOfTime

Hi. I am attempting to make a program that plays a midi file, like a [URL="http://java.sun.com/j2se/1.5.0/docs/api/javax/sound/midi/Sequencer.html"]sequencer[/URL] would do, but also have the sequencer send off any NOTE_ON or NOTE_OFF messages to an external method. I have looked through the api and cannot find exactly what I am looking for. I …

Member Avatar for HeroOfTime
0
131
Member Avatar for beamkirk

// I am trying to complete this for my class I am taking. Can anyone assist me in completing the task a ?Newbie is struggling with. [code] import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.util.*; // program uses class Scanner /** * * */ public class Inventory { /** * …

Member Avatar for Ezzaral
0
111
Member Avatar for gateclaw

I get the following error while trying to install netbeans 6.1 on my laptop : An unexpected exception happened in thread Thread -4 Exception: java.lang.ExceptionInInitializerError: null There is nothing wrong with the installer I think.I've installed with the same file on my desktop and there was no problem.Both machines are …

Member Avatar for Ezzaral
0
85
Member Avatar for ishFady

Hi I am working with java project, using jsp, struts 2.1 and servlet technology. I would like to create a json file or a object from the data from the database using sql query on fly. Then pass this data to jsp page dynamically. Please can someone help or put …

Member Avatar for ~s.o.s~
0
67
Member Avatar for tactfulsaint

Hello everyone, please i need help, i have been trying to send and retrieve password and username to the database using RMI. please i need a code snipet that can help me to achieve that. i use MS Sqlserver 2000.

Member Avatar for tactfulsaint
0
82
Member Avatar for geeths

i need to develop an instant messaging using Jabber. Can anyone suggest me which jabber client api is the best for developing IM in java. Any samples on jabber client will be helpful. thanks & regards,

Member Avatar for amjad277
0
77
Member Avatar for rriiddaa

hi all my name is rida i'm from lebanon 21 years old i'm in CNAM university and studying informatic i have a project about java language and i didn't know any thing about this language since i have an accedent in the begining of the year and i didnt watch …

Member Avatar for javaAddict
0
163
Member Avatar for new2jsp

I've this servlet that reads the data from db and then passes on a sublist of the data retrieved from db to the jsp page... [ICODE] package tryjsp; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; public class GetReleaseDataServlet extends HttpServlet { String releaseno = ""; String location = ""; …

Member Avatar for ~s.o.s~
0
196
Member Avatar for LevelSix

The task: Write a program that asks the user for a file and counts the number of characters, words, and lines in that file. Then the program asks for the name of the next file. When the user enters a file that doesn't exists, the program prints the total count …

Member Avatar for LevelSix
0
480
Member Avatar for sciwizeh

is there a method in the mouse listeners or any other event handlers that utilizes the tilt wheel, either tilt or scroll, i can't find anything edit: found scrolling no tilt yet

Member Avatar for sciwizeh
0
99
Member Avatar for lord 1001

I need a search engine project in Java is a very simplified ask the greats of this forum wonderful to find a solution to the problems of me and giving me this ID project...

Member Avatar for Ezzaral
-1
39
Member Avatar for TofiLuk

What's wrong with my code? Can somebody help? Thanks! [CODE]import java.io.*; public class Array { public static void main (String[]args) throws IOException { BufferedReader myinput=new BufferedReader(new InputStreamReader(System.in)); int Arr1[]=new int[5]; int Arr2[]=new int[5]; int SumArr1=0; int SumArr2=0; int x=0; int y=0; for (x=0;x<Arr1.length;x++) { System.out.print("Enter Array1: "); Arr1[x]=Integer.parseInt(myinput.readLine()); SumArr1=Arr1[x]+SumArr1; } …

Member Avatar for ~s.o.s~
0
143
Member Avatar for briglia23

hi. i have this method: [code] public Set listTaglie() throws Exception { try { Set<Scheda> ret = new HashSet<Scheda>(); ret.addAll(manager.createQuery("from Scheda").getResultList()); return ret; } catch (Exception e) { log.error("listTaglie() - Failed to list Taglie: "+e); throw e; } } [/code] I want a query like this: select distinct taglia_scheda from …

0
58
Member Avatar for gorty

hi, prepared two list boxes which both interchange data thru forward arrrow and backwardarrow images. data is getting from database storing in avariable,have to assign var to array . this is my code pls help thanks in advance. [code] <script language=javascript> /* ************************* */ // Copy the code inside head …

0
49
Member Avatar for gorty

Hello everyone, I have the following problem and was wondering if I could do this with JSP. basically have table with two columns one column willretrieve data(names) from database in the form of textfields. Upon getting data within the textfields I want it to transfer data from textbox to another …

Member Avatar for ~s.o.s~
0
81
Member Avatar for lich

Here is my code import java.io.*; class Add { public static void main (String args[] ) throws IOException; { BufferedReader br=new BufferedReader( new InputStreamReader (System.in)); System.out.println("Enter the value of X:"); int x=Integer.parseInt(br.readLine()); System.out.println("Enter the Value of Y:"); int y=Integer.parseInt(br.readLine()); int z=x+y; System.out.println("\n\nValue of X + Y = " +z); } …

Member Avatar for satyapp
0
97
Member Avatar for iqbal

This is my assignment and write following code for this, its compile but not run. Please check and guide me to solve this problem. I used jdk1.4 for this. > Question: > You are required to develop a GUI based “Age Calculator” using applets > > > It should take …

Member Avatar for Acidburn
0
145
Member Avatar for somtirtha

Hi, It will be very helpful 4 me if any1 kindly provide me code of session log out in JSP. It means if any member signs in and after accessing all possible services that member can sign out him/herself clicking a "sign out" button. You can send code in this …

Member Avatar for MakeMoneyOnline
0
66
Member Avatar for briglia23

Hi. i'm new user of jsp and i have this problem. I post my code [code] <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page import="it.yacme.mystiquexml.mapping.Modello"%> <%@ page import="it.yacme.mystiquexml.mapping.*" %> <%@ page import="it.yacme.mystiquexml.business.YacmeRemote"%> <%@ page import="it.yacme.mystiquexml.presentation.YacmeLocator"%> <%@ page import="java.util.Iterator"%> <%@ page import="java.util.List"%> <%@ …

Member Avatar for ~s.o.s~
0
100
Member Avatar for sciwizeh

i am getting strange results and cannot figure out why: Vel CONTROL (the vector 1,0), and Acc are Vec2D objects, which has X and Y values, and methods such as add, angle between, and other such vector util particle extends ellipse2d.double updateSuper() simply changes the values for it OLine extends …

Member Avatar for sciwizeh
0
131
Member Avatar for prof_satch

ok, so i'm enrolled my first programming course and we finally have to create an actual program. what i'm trying to do in my program is to create a while loop that checks if a variable is not of string type. but like i said, i'm very new at this …

Member Avatar for prof_satch
0
160
Member Avatar for pat8

In the game of Craps, a "Pass Line" bet proceeds as follows. Using two six-sided dice, the first roll of the dice in a craps round is called the "Come Out Roll." The bet immediately wins when the come out roll is 7 or 11, and loses when the come …

Member Avatar for Ezzaral
0
993
Member Avatar for BuddMurray

Hi pros I just started a project at work which requires Groovy development in a Grails generated project. I got the project handed to me "as is" from my boss and I don't know much about Grails and Groovy. after exploring the project and got it running via "Grails run-app" …

0
44
Member Avatar for bhavnaagrawal

how can i pull data from sites like yahoo,espn .I wan to use java servlets .

Member Avatar for yilmazhuseyin
0
81

The End.