35,618 Topics
![]() | |
i was trying to run a program on RMI i did the following [code] import java.rmi.*; public interface HelloInterface extends Remote { public int add() throws RemoteException; } [/code] [code] import java.rmi.*; import java.rmi.server.*; public class Hello extends UnicastRemoteObject implements HelloInterface { private int m,n,message, k,l; public Hello (int m,int … | |
Can someone please explaon the difference of the above action listeners?? it seems like they both do the same thing - that is close a frame/window. big help thank you | |
Hello guys.. i need a help.. m new in java swings.. m using netbeans to create one application.. here i have to insert a new jtable at runtime.. like when a click on a button jtable should be inserted.. how can i do that in netbeans.? please help.. | |
Hello. i wish to create a jsp page which will accept username and password from list and display a page showing the selected details when clicked on submit [code]<html> <head><title>course information form </title></head> <body> <form action="course_details.jsp" method="post"> username: <select name="username"> <option>nikhil</option> <option>avdhut</option> <option>gauri</option> </select> <select name="course"> <option>MCA</option> <option>MBA</option> <option>MCM</option> <input … | |
I have to write a program that creates a GUI that prompts a user to enter a query, then return the result to the same screen. All the examples I've found in my text book and other course material only shows how to account for a predetermined query. How do … | |
Hi, I have some vertices and edges and i have to create an adjacency list. I have taken an array and stored all vertices in the array. Now i need to add the edges to the graph. The input is given as a text file. When i read "a b … | |
Hi i am trying to create a JSP class which will redirct but for some reason i keep getting an error when eneterning the correct info. i think [CODE] System.err.println("DEBUG: Query: " + selectSQL); Statement stmt = conn.createStatement(); ResultSet rs1 = stmt.executeQuery(selectSQL); while(rs1.next()) { u += rs1.getString("U"); p += rs1.getString("P"); … | |
[B]Background:[/B] Hey guys I'm making the first part of a greater program. We are instructed to create a program that stores a list of all our CD's. It has to be created in 3 different classes... that obviously link together. [B]My Question[/B] How do I create an array that is … | |
I am creating a game like the text-based game Zorg using a console program. However, I don't know how to create a save file. How can I do this using the player's name to restore the variables I need? | |
hi guys .........help me ... how to accses shared file from lan by java proggram (tell me by code). plz help | |
Hey, I'm working on a problem and what I need the program to do is to add up the numbers in the array NOT add up how many numbers there are. There are 5 total numbers that a user will input. The counting of the numbers will be in a … | |
| |
Hi guys, I have this project question that is just REALLY boggling me and I am getting nowhere :( The project description is really large and I can't post all of it hear but I'd just like to post the part I'm on and how far I've gotten with the … | |
So the program I have is supposed to read from a file take that data (which is split into three parts divided by a space). These Strings need to be read and stored in an appropriate field. Now i dont know how to do this, I've tried with an array … | |
Hi again, I have a small application that calculates time left over in a day after events. The problem I have is that if either the starting time or ending time is 4.10 or 5.10 I get slightly incorrect answer. Eg. if the only event starts at 4 and ends … | |
Hello pplz I’m just starting to play around with the arraylists and GUI a bit and I’m having trouble figuring out how to access the arraylist and display it. This is what I got so far for when the add to arraylist button is clicked I’m not shore if it’s … | |
I need to write a program that takes in an input using JOptionPane and make sure it is more than 15 characters, then count the number of uppercases in the phrase. Please help desperate student. | |
Hi all Plz help me about media streaming.I want to play files that transmit from 'rtmp' link at my java application program.I have a program that play from 'http' link.Code is here [code] import java.awt.*; import java.awt.event.*; import java.io.*; import javax.swing.*; import javax.media.*; //import com.sun.media.protocol.rtsp.DataSource; import java.net.*; public class MediaPlayerTest … | |
Hello! There is possible to download automatic speech recognition engine Sphinx4 in two versions, one is bin, the other is src. It is explained how to build Sphinx4 engine with Ant here: [url]http://cmusphinx.sourceforge.net/sphinx4/#how_build[/url] . However there are many applications which use this Sphinx4, e.g. HelloDigits. I'd like to create my … | |
Here i mad panel and i put two Boxes in it , then i tried to make a background color for box by useing ([B]background(color.blue)[/B] method) but it never has the color . Then i try to resize its height by useing [B]Box.createRigidArea(new Dimension(10, 50))[/B] but the titleBoard take all … | |
Hi guys, Is there any javaFX code generator other than [ICODE]jfxbuilder[/ICODE]??? And Is someone here knows any news about [ICODE]javaFx authoring tool[/ICODE], like the release time, cause I got nothing from [ICODE]google[/ICODE]. Thanks [EL-Prince] | |
Hi guys, I am trying to create an application to serve on the web which is an integration of a java application and some php for mostly presentation functionality. Has anybody here successfully done anything like this before, and if so how? Please help. In dire need here. Thanks in … | |
Hey, I have been using youtube to learn how to use the JPanel, as the prof has not given a lesson regarding that… The project was a game, which I have finished, but for bonus I can do some sweet sweet graphics. Anyhow the game saves the data in arraylists … | |
Hello, I build my java desktop application using NetBeans 6.7, visually. So I click on the Frame -> Events -> KeyTyped and I add a new handler. The problem is the key events are not detected! My components are Swing components. Why is this happening?? :( [CODE] private void formKeyTyped(java.awt.event.KeyEvent … | |
I finally got it in order for smooth compilation, but nothing gets converted [CODE] import java.util.Scanner; public class nizadi_Lab8 { public static void main(String[] args) { if(args.length > 0) { try { Integer.parseInt(args[0]); } catch(NumberFormatException f) { System.out.println("wrong format"); } } else { System.out.println("no arg"); } } public int printBin(int … | |
![]() | Hi, Could someone please tell me how to read from a CSV file? Also, how to update (write) to a CSV file? Thanks, -Ashton. ![]() |
![]() | Hi, I was wondering how developers have stable backgrounds, with scrollable foregrounds. i.e. [URL="http://forums.devx.com/"]http://forums.devx.com/[/URL] Please could someone give a basic piece of sample code to demonstrate this. Thanks, -Ashton. ![]() |
For synchronized block, an object has been passed.The question is,Why & when it is passed & what is the purpose of passing an object? -Thanks in advance | |
hi I have to create a help menu in my project for that i had made html pagesand my problem is I cannot connect that html pages from help menuitem. pls helpme and guide me for that. thanks for ur response shashikant.v | |
in jsp,i have "p_id","name","date" and "products"."p_id is primary key. i executed jsp page with oracle. but one thing i had no fields and submit button. pressing submit query,next page i had blank page , plese how to do it? |
The End.