35,618 Topics

Member Avatar for
Member Avatar for rushikesh jadha

i want create jar file of my source code using netbean but i dont know how to do that please help!

Member Avatar for stultuske
0
81
Member Avatar for JavaPrograms

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 …

Member Avatar for technoknol
0
797
Member Avatar for ilovejava

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); } …

Member Avatar for ilovejava
0
206
Member Avatar for steven8579

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 …

Member Avatar for JamesCherrill
0
382
Member Avatar for androidf

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 …

Member Avatar for androidf
0
1K
Member Avatar for sagar2dumbre

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 …

Member Avatar for sagar2dumbre
0
1K
Member Avatar for arden_k

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

Member Avatar for arden_k
0
335
Member Avatar for sarathsshanker

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

Member Avatar for stevelg
0
67
Member Avatar for Queen Lala

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= …

Member Avatar for rushikesh jadha
0
166
Member Avatar for 03hasnam

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 …

Member Avatar for 03hasnam
0
221
Member Avatar for mehnihma

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 …

Member Avatar for DavidKroukamp
0
1K
Member Avatar for Torf

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 …

Member Avatar for JamesCherrill
0
964
Member Avatar for androidf

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.

Member Avatar for JamesCherrill
0
1K
Member Avatar for mohamed moamen

I'm do program that's can record sound , how i can but this sound in MP3 file ?

Member Avatar for DavidKroukamp
0
67
Member Avatar for ankur3000

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; …

0
131
Member Avatar for chillysnow

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 …

Member Avatar for peter_budo
0
185
Member Avatar for chazzkat

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 …

Member Avatar for peter_budo
0
112
Member Avatar for sonicx2218

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 …

Member Avatar for stultuske
0
158
Member Avatar for bhallarahul

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

Member Avatar for peter_budo
0
83
Member Avatar for Gsterminator

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

Member Avatar for mKorbel
0
139
Member Avatar for Gsterminator

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 …

Member Avatar for Gsterminator
0
2K
Member Avatar for Dexxta27

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. …

Member Avatar for Dexxta27
0
2K
Member Avatar for Yarra

[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 = …

Member Avatar for mKorbel
0
177
Member Avatar for Ajantis

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 …

Member Avatar for NormR1
0
313
Member Avatar for freakybeavis

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 …

Member Avatar for freakybeavis
0
236
Member Avatar for ringo_tech

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 …

Member Avatar for DavidKroukamp
0
2K
Member Avatar for ndrichim

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]); } } }

Member Avatar for NormR1
0
518
Member Avatar for kalcio

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; …

Member Avatar for kalcio
0
139
Member Avatar for javalover

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..

Member Avatar for NormR1
0
328
Member Avatar for Wolxhound90

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 …

Member Avatar for Wolxhound90
0
193

The End.