35,618 Topics
![]() | |
i want create jar file of my source code using netbean but i dont know how to do that please help! | |
shell-scripting @ DaniWeb - Hello fellow members, I would like to ask for your assistance in creating a batch/autorun/exe file which can help me to make an autorun usb. So basically, I would like the USB to do the following: When usb is inserted, it should autorun and copy files … | |
I had to make a arrayList and i do not know why is it not working [CODE]public class ArrayList<E> { private E[] theArray; private int size; private int capacity; public ArrayList(int initialCapacity) { this.size = 10; this.capacity = initialCapacity; theArray = (E[]) new Object[initialCapacity]; } public ArrayList() { this(1024); } … | |
I have an array where of integers that has to be sorted and inserted into the correct place in the array for each number, not just at the end. All of this is done in the add method. This is what i have so far. [CODE]package sortedintlist; public class SortedIntList … | |
I need to have a update button to update a edited textfield and save it to the database. I have created the button but have no idea on how to make it update the edited textfield and update the SQL database automatically. Pls help!!): This is my code: [CODE]private JButton … | |
Hello i am developing a web app in JSP as front end and ms-access as back end..i hv login.jsp which contains username & password which will be validated in access database upon success user.jsp will be shown..i hv been done with jsp page design..but don't know abt database connectivity..can any1 … | |
Hi All, I'm getting the following "Undefined type: ArrayList" for the following line of code "<jsp:useBean id="students" type="ArrayList<beans.UserBean>" scope="session" />" Could someone tell me what I did / didn't do the get this error and what I have to do to resolve it. Many thanks, AK | |
says the R.java cannot be resolved but the reason seems to be not solved by refreshing or clean building the code..it has something to do with the different build target paths | |
import java.awt.*; import javax.swing.*; /*<applet code="SampleApplet1",200,300> */ public class SampleApplet1 extends JApplet { int num; public void init() { num=20; } public void paint(Graphics g) { g.drawString("Hello to Applets.Session"+num,70,80); g.showStatus(getAppletInfo); } public int getAppletInfo()//Overrides super class method { return("Created by PTSS"); } public static void main(String arg[]) { SampleApplet1 obj= … | |
i am getting lots of error like this for all form inputs. i am trying to use javabeans and jsp where a jsp will be responsible for outputting the final information (cost of booking and bookingreference). The servlet needs to pass control to this JSP. this is the error which … | |
![]() | Can you help me with one problem, I dont know how to invoke action op menu not the menu item? I have File and Help menus and I need to invoke action when the Help menu is pressed but dont understand how, I know how to do in on MenuItem … |
File, new project, Java+Java application, Project name just a random name, finish. Then.. new file, Java+Java class, Class name payroll, finish.. [code] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package javaapplication5; /** * * @author computer public class … | |
Hi, I need to create an html page to export some information. Currently, by using java, i've exported information to excel. But now, I need to export the information in HTML page using java.Is there any APIs I can use? Thanks. | |
I'm do program that's can record sound , how i can but this sound in MP3 file ? | |
I am pretty new in android application development and I am trying to get on of the rows from a SQLite db to show up as a Listactivity, but this is not working and the program terminates unexpectedly. Here is the code: [CODE]package ankur.test.app; import android.app.ListActivity; import android.content.Intent; import android.os.Bundle; … | |
Hi, I am using Paypal to do my payment processing, however the user authentication JSP session variables I am using are expiring during the transition from my site to paypal's then back to mine again. The result is obviously that access is denied on return and the transaction does not … | |
Hi everybody! I am pretty close to finishing this program. It is supposed to calculate a person's energy use based on their past and current bill. I am stuck on the calculations and else/if statements. Thanks in advance for any feedback. [code]package craft_week4; //Import scanner library import java.util.Scanner; //Begin Class … | |
![]() | Hey guys..I'm a newbie, so please try to use easy words, as the more complicated stuff may make me bleed out of my ears ;) So I'm trying to make this program where you type in a number using the xxx xxx xxxx style The java program will then compare … |
Hello everyone i want to convert pdf file in docx file, which contain table, text as well as image can you tell me any any class or method which help to me to extract in the same way as it pdf file have i m using pdfbox api | |
![]() | Hey daniweb Community! I need help opening up new GUI window by using abstract actions. For example if I hit CTRL + C, i want to open a new window while i already have another window open. Please help! Thanks |
![]() | Hey everybody! So my problem is the very last part, getting the results of my calculation. So what i've done is created a stack with my very own stack class. The = button is suppose to display the result but i get a runtime error. Please help me out. Oh … ![]() |
I have to make a small paint program using the GUI. I need to know how to use the combo box. I know I have to make an array with the list of colors but I don't know how to add it to an action listener and choose the items. … | |
[B]Ok so i have a program using JFrame when ever i add more than 2 classes in the frame one disappears? How can i add more than 1 class with one of them to dissappear?[/B] [B][I][U]Tester Class[/U][/I][/B] [CODE]public class TestYourFace { public static void main(String args[]) { JFrame frame = … | |
![]() | Hello :) I am creating a simple client/server file sharing application which I run on same computer. Mine. :) I wish to make the client be able to get a certain file by letting user type "get filename" in the console. When they do, and the server responds, the server … |
I'm having trouble figuring this out. I have 3 jlists and each one has a textbox and a "add" button so the user can enter text to be added to the list. I have read probably a dozen webpages or forum posts on this and all have pretty much the … | |
hi there, i want to implement a server that receives voice packets from many clients then send these packets to all the clients so that the clients are communicated to each other through the server. how i can send the received packets to all the clients? any good tutorials or … | |
hello there. i have a two dimensional vector. int numbers[][]=new int[5][4]; i want to find if elements of row numbers[1] are equal to elements of row numbers[2]; i wrotted this code; for(int i=0;i<5;i++){ for(int j=0;j<4;j++){ if(numbers[i][j]==numbers[(i+1)][j]{ System.out.print(numbers[i][j]); } } } | |
hi i have a problem with my interface,i want to I want when I hit the button, the progress bar goes off, so I have not found where is the problem in my code is that any one can help me and thank you. import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JProgressBar; … | |
Am programming in java to create a game for snake and ladders.. I decided to keep the numbers in grid and now i want to place the snakes and ladders on the design .. I dono how to do that .. Can any one help please .... Thanks in advance.. | |
Hey all, I'm trying to install the Android SDK to work with Eclipse. I am following the instructions given on these websites: [url]http://developer.android.com/sdk/installing.html[/url] [url]http://developer.android.com/sdk/eclipse-adt.html#installing[/url] I'm using Eclipse Indigo, and everytime I try to add the ADT Plugin I get the following error: Cannot complete the install because one or more … |
The End.