32,199 Topics

Member Avatar for
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
66
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 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
111
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
156
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
81
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
137
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
175
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
311
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
233
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
516
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
137
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
299
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
192
Member Avatar for swy

I'm trying to read in the following text file: Jim Nasium mgr Fitness & Leisure 45000 Lazy Susan mgr Home Furnishings 55000 Gene Theory mgr Fine Jewelry 10000 And I have the following code: public abstract class Employee { private String name; private double grossPay; private double netPay; private final …

Member Avatar for NormR1
0
222
Member Avatar for razakhan

Hello. I was writing a java code for class and I was unable to figure out how strings and sub-strings work. Can anyone provide some insight on the program. Here is the problem: Given a bit string expression, such as 10110 OR 11101, evaluate it. Input: Each string represents a …

Member Avatar for NormR1
0
319
Member Avatar for jackbauer24

I know this is a pretty silly question, but what is exactly an object instance variable? To explain what I mean, take two classes:- [CODE=Java]public class Duck { boolean hasAtail; double height; public void go() { System.out.println(hasAtail + " " + height); } } public class DuckTestDrive { public static …

Member Avatar for DavidKroukamp
0
229
Member Avatar for 47pirates

i have a username and password login box when i send data to the socket its fine but when i print the same data from socket then extra bit is added a head of username. why is it so...please suggest

Member Avatar for JamesCherrill
0
102
Member Avatar for rushikesh jadha
Member Avatar for peter_budo
0
111
Member Avatar for rushikesh jadha

when i run my code using IDE it run fine but when i run it using command prompt it show following errors Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Administrator>cd\ C:\>cd bank2 C:\bank2>javac *.java CurrentTransaction.java:2: error: package com.mysql.jdbc does not exist import com.mysql.jdbc.Connection; ^ CurrentTransaction.java:3: …

Member Avatar for rushikesh jadha
0
261
Member Avatar for toferdagofer

import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TheatreRevenue extends JFrame { /** * */ final double percent = .20; double adultCost; private JTextField label2; private JTextField label4; private JTextField label6; private JTextField label8; private JButton button1; private final int WINDOW_WIDTH = 400; private final int WINDOW_HEIGHT = 200; /** …

Member Avatar for DavidKroukamp
0
1K
Member Avatar for harinath_2007

Hi , I have speech synthesizer java program. It is running fine when i run it from netbeans. But when i build the project and run the jar file , it's not working. The entire program is running fine in the jar file (i.e displaying window , doing stuff etc) …

Member Avatar for DavidKroukamp
0
777
Member Avatar for roshan_iiita

While running basic HelloWorld program using JSAPI, it is showing error "java.lang.NullPointerException at HelloWorld.main(HelloWorld.java:11)" Following is the code: [CODE]import javax.speech.*; import javax.speech.synthesis.*; import java.util.Locale; public class HelloWorld { public static void main(String args[]) { try { // Create a synthesizer for English Synthesizer synth = Central.createSynthesizer(new SynthesizerModeDesc(Locale.ENGLISH)); // Get it …

0
137
Member Avatar for rushikesh jadha

please tell me step of converting java source code into jar in netbean or if any software available please send me download link of it.

Member Avatar for rushikesh jadha
0
306
Member Avatar for Vampiricx3

Hey guys, right now I'm trying to setup my GUI so that I can search for an Employee (which when clicked, disables all of the Text Fields, but not the ID, so I can search for the ID. But right now I have no idea on how to do this, …

Member Avatar for zeroliken
0
173
Member Avatar for beetlejuice

hi, Recently i was trying to look for a pixel searcher for java that was built in with the language but the only command that was somewhat related to specific color pixel searching was the getPixelColor in the robot library. The problem with this command was that it only returned …

Member Avatar for NormR1
0
179
Member Avatar for dennysimon

hello all how to read from a text file which is not only run at the developer machine but also run at the other machine (after jar ing) I have tried ,the code run at my own machine but cannot find the text file on other machine thank you denny

Member Avatar for dennysimon
0
334

The End.