35,618 Topics

Member Avatar for
Member Avatar for WalkmanXD

how to delete objects to free memory ????????????? and when did Garbage Collector work to delete unused objects ????????

Member Avatar for WalkmanXD
0
104
Member Avatar for javauser215

My program compiles and runs okay, but is not displaying my restocking fee and I am not sure why. Attached is my printout of how it displays. [CODE]//Product.java works with Inventory4.java file import java.util.Scanner; // program uses class Scanner public class Product4 { //Private Variables private String name; //Product name …

Member Avatar for javauser215
0
112
Member Avatar for Kusno

Dear all, I filter my query select with parameter from previous page. SQL = "select a.KodePenyanyi, p.NamaPenyanyi, p.WebSite, a.KodeAlbum, a.NamaAlbum, NamaLabel, Tahun, a.Kaset, a.CD, a.CDImport, a.DVD, DaftarLagu, ReviewAlbum FROM masterpenyanyi p inner join masteralbum a on a.KodePenyanyi=p.KodePenyanyi inner join masterlabel on masterlabel.KodeLabel = a.KodeLabel where a.KodeAlbum='" + kodeAlbum + "'"; …

Member Avatar for ~s.o.s~
0
106
Member Avatar for TheWhite

I have a JButton with both an ActionListener and a MouseListener: [code=Java] b.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae){ performLeftClickAction((JButton)ae.getSource()); } }); b.addMouseListener(new MouseAdapter() { public void mouseReleased(MouseEvent me){ if(SwingUtilities.isRightMouseButton(me)){ performRightClickAction((JButton)me.getSource()); } } }); [/code] Here are the 2 actions for right clicking and left clicking: [code=Java] performLeftClickAction(JButton b){ //problem …

Member Avatar for TheWhite
0
1K
Member Avatar for MxDev

hi guys , how could i to lock a the parent frame if the child frame is generated, (i.e. i generate joptionpane message how to lock the parent frame till the user responding to child frame)

Member Avatar for Ezzaral
0
56
Member Avatar for MxDev

hi all, how to set the location of joptionpane dialogs to the locations of the parent frame

Member Avatar for Ezzaral
0
35
Member Avatar for ullasvk2000

Hi everybody. I am currently doing my 6th sem project in jsp. My project title in Online Shopping.I am very much need of the code. Please can any help me........:(

Member Avatar for peter_budo
0
113
Member Avatar for Taker

Hi Everybody I am in need for help. I have a program which is surppose to allow the user to input a boat and a time and date of hire for that boat. Problem is that the button wont work and i dont know how to get the time in …

0
74
Member Avatar for to.prakashg

Hi, Following is the code snippet of the JSP file which is gettting populated with all its field data when the application runs into IE7 but does not populated when using FireFox. I am using spring frame work for developing the application. Note: This is not the complete jsp code …

Member Avatar for Thirusha
0
142
Member Avatar for engrasi

The Dearest I have done engineering in SOFTWARE and now doing masters in COMMOUNICATION SYSTEMS AND NETWORKS. I need VOIP Applications basic architecture project developed in any language either Visual basic or Java OR if you have any project on Wireless Technology ,Wimax, Adhoc Networking ,Network security or network auding …

Member Avatar for Jens
0
152
Member Avatar for jk_bscomp

Hello Everyone!!! Does anyone here knows how to display the content of the database in a JTextArea? For example.... In mydatabase, I have a column name 'username' and I want to display all the contents of that 'username' in JTextArea.. What shall I do and what classes I need to …

Member Avatar for javaAddict
0
116
Member Avatar for degamer106

1) How do I tell if I have java 5 or java 6 installed? 2) I have my program commented using javadoc syntax. However, when I run javadoc from the command prompt and then open the html files, I do not see any documentation. What am I doing wrong? For …

Member Avatar for javaAddict
0
104
Member Avatar for punitdam

I m trying to connect MYSQL 4.1.1 from JSP using java. and I m getting error as described below. javax.servlet.ServletException: Extra bytes at the end of class file org/gjt/mm/mysql/Driver org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774) org.apache.jsp.Login100408_jsp._jspService(Login100408_jsp.java:697) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) plz help me I m not getting any solution.

Member Avatar for peter_budo
0
201
Member Avatar for Newbie2Java

Hi, i am new to this forum, and also new to JAVA, at the moment i have an assignment in which i am desperately in need of help. I don't know much about MVC and i was wondering if there is any one out there that could help me. regards.

Member Avatar for Jens
0
92
Member Avatar for gator6688

[CODE]import java.text.DecimalFormat; import javax.swing.JOptionPane; public class PayrollSystemTest { public static void main( String[] args ) { String workerType; String first; String last; String ssn; int month; int day; int year; float salary; float rate; float hourlyWage=0; float hours; float wage; float sales; DecimalFormat twoDigits = new DecimalFormat( "0.00" ); // …

Member Avatar for javaAddict
0
130
Member Avatar for asadii

I want to write a project using netbeans ide 6.0 to read a xml file and display its fields to user then user changes some fields and program updates xml file.How can do this By JAXB and Marshal\Unmarshal Commands. thnks

Member Avatar for asadii
0
64
Member Avatar for Neke

I would like to draw an array of robots. How do i complete this class to draw the head, body, legs of a robot given that the robot is to be drawn within an invisible rectangular Container. The position and dimensions of the Container are given as parameters to the …

Member Avatar for Neke
0
87
Member Avatar for 4ukh

[COLOR="Green"][B]How is your experience with java handling databases? very simple please post your Feedback? thank you[/B][/COLOR] actually i am going to build a library database application; but don't have any idea of handling database with the java!!! and is it possible if you create database table in ms access and …

Member Avatar for 4ukh
0
287
Member Avatar for Compton11

Hey all...I'm working on creating a text editor for one of my college projects. One of features I have to implement is a find and replace feature which requests the user to input a word to find and also input a word that will be used to replace that word …

0
62
Member Avatar for nsuleiman

Hi all There is an example code that comes with the SuperWaba SDK about importing a .txt file inot pdb of superWaba. However, this code imports java.io and java.util packages which are not supported by SuperWaba and also imports waba.io which is not supported by the JCreator. Can anyone help …

Member Avatar for peter_budo
0
146
Member Avatar for TheWhite

Alright, well, this is my 2nd post so far... My first problem was easily repaired ( I incremented an i instead of j in one of my for loops... lol ). But this problem is a little more, how can I say, not a visual mistake, but a implementation thing... …

Member Avatar for peter_budo
0
79
Member Avatar for perpetual_dream

Hey, Am a total newbie to java. What am trying to do is to control a robot through network. I need to send commands between a laptop(client) and a PDA (server), it is describe in the pic [URL=http://www.freewebtown.com/perpetual_dream/Picture2.png]HERE[/URL] .I have a few questions... 1- The java used to program the …

Member Avatar for peter_budo
0
147
Member Avatar for MxDev

hi guys, is there any stand alone GUI designer which could deal with most of Swing components and generate human readable code and also free

Member Avatar for sukatoa
0
124
Member Avatar for loveydashottar

i hav taken distributed database as my final year project in which i hav 2 use keyword search in the relations . this im doing using java rmi....i m not getting the right kind of schema...kindly help me out by giving sum idea where keyword search can b applied on …

Member Avatar for loveydashottar
0
177
Member Avatar for Java_tyro

Hello, I have a html form in which there are 4 fields and 1 button. 1. Employee Number 2. Employee Name 3. Salary 4. Address 5. Retrive button And I have a table in database named "employee". I want to retrieve employee information in the above text fields to be …

Member Avatar for peter_budo
0
72
Member Avatar for gramatton

ok, I have a program that uses a list and stack to convert Infix to Postfix. I finally worked out all the kinks with it except one thing, which I'll get into in a minute, and now I want to reverse the process, turn Postfix into Infix. I gave it …

Member Avatar for gramatton
0
107
Member Avatar for jk_bscomp
Member Avatar for abdulraqeeb33

hello, i want to cycle through a db table infinite times, ie; if there exists no value(reached end of table) in the result set, i wanna point the cursor to the start again...and it goes on infinite times wat do i add and where package project; import java.io.*; import java.net.*; …

Member Avatar for peter_budo
0
146
Member Avatar for RBA

Please any one can help me create a jar file? Please give a detailed answer

Member Avatar for peter_budo
0
411
Member Avatar for jk_bscomp

Hello everyone!!! Does anyone here knows how to create jar file? If Yes, can you pls show me a sample code on how to do it or even website good for learning? YOUR HELP IS HIGHLY APPRECIATED? TAHNK YOU IN ADVANCED...

Member Avatar for peter_budo
0
472

The End.