35,618 Topics
![]() | |
how to delete objects to free memory ????????????? and when did Garbage Collector work to delete unused objects ???????? | |
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 … | |
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 + "'"; … | |
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 … | |
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) | |
hi all, how to set the location of joptionpane dialogs to the locations of the parent frame | |
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........:( | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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. | |
[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" ); // … | |
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 | |
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 … | |
[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 … | |
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 … | |
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 … | |
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... … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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.*; … | |
Please any one can help me create a jar file? Please give a detailed answer | |
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... |
The End.