32,199 Topics

Member Avatar for
Member Avatar for sasdap

hi friends, I am using ubuntu linux distribution. I want to incorporate text to speech to any application. Is it possible to do it using java in linux?

Member Avatar for jbennet
0
47
Member Avatar for shaikh_mshariq

Hi, To all posters. I am in a confusion. I want to make a popup using JFrame. I am using `JFrame.setUndecorated(true);` in one class i made for popup,it works fine when i execute that class but if i use this class to get my customize popup messages it doesnot paint …

0
66
Member Avatar for linda.kean

I am writing a little program to create an array and then to sum the integers in the array. I am also suffering a stomach flu, and I don't have the brainpower to figure out how to call the two methods I wrote to create the array and then sum …

Member Avatar for stultuske
0
160
Member Avatar for kabo

can sumbody help in solving the problem below: Write a Java application (call your class IntegerPairSearch) to do the following. ● It should get a file name and a positive integer N from the command line. ● It should then determine all pairs of positive integers, (a, b), such that …

Member Avatar for stultuske
0
132
Member Avatar for shrutijadhav

How to create and load shared libraries in fedora 7 for Java as frontend and C as backend We are doing project for which we want Java as frontend and backend is C. We are using JNI to link Java and C but we are not getting which commands are …

Member Avatar for shrutijadhav
0
129
Member Avatar for winky

Hey everybody, My current Networking teacher gave us sample code to show us how socket programming works. Problem is, I haven't had to use JAVA in so forever, let alone ECLIPSE (although I hear it's pretty nice). So, I was wondering how to get the program to work. I have …

Member Avatar for DangerDev
0
472
Member Avatar for Ankita B

Hi, Im trying to modify user information on my site.for this im using java and jsp.when the user enters id,his info stored in db is to be retrieved and displayed in corresponding textboxes. I know how to access db but dont know how to put the value retrieved into textboxes …

Member Avatar for DangerDev
0
78
Member Avatar for missileh

How can we execute shell scripts in java program? Can we redirect the output of a shell script in a stream/buffer object? If any1 knows then please reply... Thanx...

Member Avatar for missileh
0
252
Member Avatar for Acidburn

Hey guys i'm trying to split up my classes into packages but I seems to stumble upon this error quite alot: OPPS please delete I figured it out sorry

0
59
Member Avatar for fufu123

am not sure on how to start a program on natural gas bill.it has to print the name like home and the usage....pleasse and thank you...

Member Avatar for Ezzaral
0
50
Member Avatar for PL.P27

Hi everybody. I appreciate any help given, and appreciate your time. I'm currently doing a program that tests if the input is a palindrome or not. I have already done the reversing part of the program. But was wondering how I could possibly check to see if the input word …

Member Avatar for jwenting
0
143
Member Avatar for MxDev

hi guys, i asking if somebody can tell me what is the build number of software, and why it exist ??? thanks

Member Avatar for jwenting
0
121
Member Avatar for hanifa

Hi, this is my requirement : I have a c++ library/API in the server and client computers running Java applets can send data over to the server and server after processing will send the resultant data back. What I have done: Following the excellant tutorial at [url]http://www.linux.com/feature/113947?&depth=5&order=1&sortby=3&render=flat[/url] titled "Creating Web …

0
61
Member Avatar for edchabz

I have a good idea what I am supposed to put but I can't seem to get it right. I have two different files, Server.java and Client.java. I want Client.java to call a method in Server.java. This is what I have figured out so far. public class Client{ public static …

Member Avatar for edchabz
0
142
Member Avatar for CBLACK10

I am working on an application that has a menu window with 2 buttons for menu options. I would like the application to function in the following way. When a menu option button is clicked, the menu window disappears and the window for the menu selection appears. When the close …

Member Avatar for new_2_java
0
110
Member Avatar for -EquinoX-

can someone help me to develop a pseudo code that will allow me to find the min and max of an array recursively??

Member Avatar for jasimp
0
60
Member Avatar for new_2_java

Hi all, I am writing my first servlet, and facing some troubles. I have my servlet: [code] package com.example.servlet; // other imports... public class Hello extends HttpServlet{ public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{ res.setContentType("text/html"); PrintWriter out = res.getWriter(); String name = req.getParameter("name"); out.println("<HTML>"); out.println("<HEAD><TITLE>Hello, " + name …

Member Avatar for new_2_java
0
549
Member Avatar for Mr.UNOwen

Hello, I'm creating a game in Java and in the game there will be short videos played in between the levels and I need to know what classes to look at if I'm going to load, adjust volume, play and terminate the video. Also the way I have the program …

Member Avatar for Phaelax
0
63
Member Avatar for Shveetis

Hello everyone.. I need some basic help in the monitoring of a website.. Can anyone out here help me with the retrieving of the URL of a website..?? Thanks a lot in advance..

Member Avatar for Shveetis
0
80
Member Avatar for kenus

'javac' is not recognized as an internal or external command, operable program or batch file.

Member Avatar for vimalkv123
0
134
Member Avatar for arunpawar

We import the packages from java.somepackge.*; or javax.package.*;package can be anything from javas own api or other external api. My question is what is difference between java and javax?

Member Avatar for javaAddict
0
63
Member Avatar for shaikh_mshariq

Hi to all the posters. I have come up with new problem using crimson parser to parse an xml file. I am creating xml file using crimson parser and DOM object. I have created a xml file using xmldocument object and i am setting nodes value according to tag name …

0
78
Member Avatar for ndrux

import javax.swing.JOptionPane; public class cafe2 { public static void main(String args[]) { String name,ch; double price = 0.00; double sum=0.00; int cho=0; name=JOptionPane.showInputDialog("Enter Customer Name:"); do{ ch=JOptionPane.showInputDialog( " Food Name "+ "\n-----------------------------------------------------"+ "\n1) French Fries $ 3.50"+ "\n2) Fish and Chips $ 5.50"+ "\n3) Goat Cheese Pizza $20.70"+ "\n4) Chicken …

Member Avatar for ndrux
0
139
Member Avatar for Mr.UNOwen

Hello, I was creating a game in java and a thought came to mind, would it be better to dump it all and start from scratch with C++. So my question is, with all the cons I've listed and all the other issues that you know, what am I better …

Member Avatar for Mr.UNOwen
0
105
Member Avatar for dharajsmith

Hi Friends, I'm afraid I need help again.... I wrote this program, and it won't compile...and now I have to add to it. Here is the program: public class InventoryProgram1App { /** * @param args the command line arguments */ public static void main(String[] args) { System.out.println("InventoryProgram1App"); { {public class …

Member Avatar for dharajsmith
0
179
Member Avatar for rockmania

import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Calculator { public static void main (String [] args) { JFrame frame = new CalculatorFrame (); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.show (); } } class CalculatorFrame extends JFrame { JTextField jtf; JLabel jlb; JTextField jtf1; JLabel jlb1; JTextField jtf2; JLabel jlb2; JButton jbt; JButton …

Member Avatar for jwenting
0
175
Member Avatar for Derice

[CODE]String str = "D:*Course 2007 Sem 2*WXET3309*WXET3309_Lab*WXET3309_Lab 2.doc"; System.out.println(str); String[] word = str.split("\\*"); int i = word.length; //length is 1 more than array i--; //last index = last string System.out.println(word[i]);[/CODE] The code above is code to get the last string separated by the symbol *. I wonder how should the …

Member Avatar for Derice
0
236
Member Avatar for insignia1

Hi, My enquiry involves how jsp handles graphics updates I refer to the technology prior to .NET when ActiveX controls were embedded in web pages. The control (in the form of a dll) was typically downloaded to the browser and executed on that browser. I believe a similar situation exists …

Member Avatar for jwenting
0
136
Member Avatar for nljavaingineur

Hello developers, I have a Product class defined. Then have an applet extending this class. This applet lets me key in: 1.Ordered item 2. Quantity to order then display total amount payable for each item ordered plus the total amount of all items ordered. I am learning to use array …

Member Avatar for jwenting
0
106
Member Avatar for shiyamala

The End.