31,001 Topics

Member Avatar for
Member Avatar for bryan69

hi guys.. i dont noe if this is the right place to post this but,im in need of an idea for a project related to security. can anyone suggest an idea? thanks~!

0
60
Member Avatar for tomata2

Problem Description: Multi automobile movement simulation in a multi lane road Consider a road (street) consisting of NL lanes with NC cars moving in one direction. Each car has to move in a certain lane with possibility of changing lanes. Each lane is divided into NP positions. Cars movement is …

Member Avatar for VernonDozier
0
101
Member Avatar for fuzzyrose

Hi all I want a help for changing this program to a linux program . Can anyone help me? wether is it in c++ or Java. [code=java] import javax.swing.*; import java.awt.*; import java.awt.event.*; class fcfs extends JFrame implements ActionListener { JButton jb[] = new JButton[3]; JTextField jt1[],jt2[]; JLabel jl[],jl1,jl2,jl3; JPanel …

Member Avatar for kvprajapati
0
225
Member Avatar for Ghost

Hi everybody; is there a way to find system info (current time, date, processor speed, processor's RPM, Fan1's RPM, Fan2's RPM, etc)? I am making a program that gives you information about your computer. Thanx in advanced, C++

Member Avatar for jaka.ramdani
0
1K
Member Avatar for Kishorey

can anyone help me in creating gadgets ...I need to know how to make a gadget ... also wat languages are used for making a gadget... i ve googled a lot bt cant find any solutions .... so help me ...

Member Avatar for Kishorey
0
122
Member Avatar for lardshow

hello all i am now about ready to pull my hair out and/or possibly worse! i have to read a .csv file, split the 3 elements into variables and then put two of the variables into a map. i can read the file fine, i can display the variables in …

Member Avatar for lardshow
0
97
Member Avatar for redZERO

Hi guys I want to take an image and cut it into blocks, then store each block in an array of bufferedimages. I have tried many things [CODE]public void splitImage(int cols, int rows) { int w = thePic.getWidth()/cols; int h = thePic.getHeight()/rows; int num = 0; tileset = new BufferedImage[w*h]; …

Member Avatar for JamesCherrill
0
454
Member Avatar for KimJack

Hello All, I really hope that you can help me. I am working on a program that will read a randomaccess file's contents and store the contents into an array. It will then update the array and write it back into the randomaccess file. I have the following two methods …

Member Avatar for kvprajapati
0
172
Member Avatar for rolfe727

hey all i need someones help. I know im asking for alot here but does someone have a jave a code for the game " the price is right" if so could you please post it through thanks for you help!

Member Avatar for JavaKing
0
106
Member Avatar for lardshow

i know i'm now loosing the plot over this so any rapid help will be appreciated! i have to write a method which calculates the average from numbers contained in a list, when i try and run the code i get the error message: Semantic error: Cannot reach instance method: …

Member Avatar for lardshow
0
535
Member Avatar for gitech

Hai Friends. I want to download jar file from IIS serve(.Net) from to mobile device. in apache tomcat server i used mime as AddType text/vnd.sun.j2me.app-descriptor jad AddType application/java-archive jar in wordpad, with jar and jad. its working fine. i doknow how to use this mime in IIS, please help me …

Member Avatar for kvprajapati
0
109
Member Avatar for dhm.shyara

i want java code which find a day of a given date...eg......13 feb 1984(given date).........answer is monday...

Member Avatar for masijade
0
93
Member Avatar for gitech

Hai Friends, Iam using socketconnection in my project for server communications, its working fine in emulator , other nokia mobiles, but it does not working in Nokia 6600 mobile. but Datagram and httpconnection is working fine.

Member Avatar for peter_budo
0
85
Member Avatar for gsingh2011

How would I make a program that can insert text into a text field in another program? Or click a button in another program?

Member Avatar for gsingh2011
0
66
Member Avatar for dmanw100

Hello, I am trying to do something very simple but my dial up connection is making it hard to research so I'd like some help! I'm trying to store instances of classes I created in a file. Something along these lines: [CODE] class apple { int flavor; String color; apple(int …

Member Avatar for dmanw100
0
107
Member Avatar for JamesKox

Here's a question i got in my assignment... [QUOTE]Create a method with signature public String testWindDirection() that creates a local object of type WeatherReport using the constructor with no parameters, and returns its initial wind direction, e.g "ESE"[/QUOTE] I createrd it here... [CODE]public class Reporter { private WeatherStation ws; private …

Member Avatar for JamesKox
0
103
Member Avatar for tformed

I keep on getting the following error, I've tried modifying the constructor, but I can't get it to work. "C:\Users\Documents\NetBeansProjects\Assignment-1\src\Bank.java:34: cannot find symbol symbol : constructor Customer(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) location: class Customer Customer customer = new Customer(last, first, street, city, state, z, acctNum); 1 error BUILD FAILED (total time: 0 seconds) " …

Member Avatar for tformed
0
224
Member Avatar for jayless

Hello, I need to find the code in netbeans where the name is stored as shown in the Title bar of the program and the taskbar of windows. Any ideas where to find that? ive been looking and searching for days now. I want to edit "Openbravo POS - 2.30beta" …

Member Avatar for JamesCherrill
0
231
Member Avatar for caps_lock

ArrayList arrayList = new ArrayList(); for (File g : f.listFiles()) if (g.isFile()) { arrayList.add(g); } I hope from the code above you can understand what Im trying to do. If a file is a file then add it to an arraylist. I dont know if this is the best one, …

Member Avatar for caps_lock
0
223
Member Avatar for nishant52

I'm doing a project on Bus Information System, [B]using JAVA[/B], which takes source and destination station from user and displays bus numbers between those two stations. Here two cases arises:- 1) Direct bus connectivity - in which case it displays the list of direct bus numbers between those stations. 2) …

0
64
Member Avatar for lardshow

i'm trying to call a method from a different class and i just cant get it to work.... code from method displayTutorGroup(): [code] /** * Displays the names and marks for the students * in the tutor group in the Display Pane */ public void displayTutorGroup() { for (String name: …

Member Avatar for lardshow
0
87
Member Avatar for kashn

Hi, I need help, to get the get working directory of the class file on a Windows system. I'm opening up a txt file to read from in the same folder as the class file, when I just enter the location of the txt file, it says: [CODE]java.security.AccessControlException: access denied …

Member Avatar for kvprajapati
0
159
Member Avatar for bluerose

When you click save in this program , it is saved nicely but the txt file being saved is all in one line. How can i overcome this matter? Just FYI, when anyone try to save, dun forget the file extension (*.txt) [CODE=java] import java.io.*; import java.awt.*; import java.awt.event.*; import …

Member Avatar for bluerose
0
131
Member Avatar for neutralfox

Hello friends, As usual .. when i have a problem ... daniweb.com is here ;). So I need some information from you. Ok, let me explain ... I am currently developing a chat application ! Ok ... everything works fine till now but I have doubts. My application uses 3 …

Member Avatar for JamesCherrill
0
147
Member Avatar for JamesKox

I'm was wondering if someone can check if this method produce the right result? [CODE] public int fileSize (String name) throws IOException { int charLength = 0; File file = new File("name"); Scanner input = new Scanner(file); while (input.hasNext()) { charLength++; } return charLength; }[/CODE] What this is supposed to …

Member Avatar for JamesKox
0
254
Member Avatar for cwarn23

Hi, I have been trying to get the Jsapi (Java Speech API) embeded into my web applet but have had quite a few troubles. The script for the Jsapi from what I can see was designed for .Jav files where as I am trying to make a .class file. So …

Member Avatar for cwarn23
0
188
Member Avatar for gabec94

for those of you not familiar with the rules they can be found [URL="en.wikipedia.org/wiki/Conway's_Game_of_Life"]here[/URL]: i am sort of new to java and i am trying to write the game of life, i have got the board made and how to randomly assign each cell a true or false (living or …

Member Avatar for gabec94
0
5K
Member Avatar for Grub

Hi, I have a JTable with a tablecellrenderer I have extended from the defaultTableCellrenderer. In my Table model on which the table is based, I have an algorithm that searches each cell making comparisons, when it finds rows with similar values, it adds colour A to an arrayindex and continues …

0
94
Member Avatar for weblover

hi all,how are u? ..i have an encryption project.. i have to implement some of the encryption algorithme in java but i have a problem ..it's the same in all the ciphers ..when i type the key and press encrypt the encrypted text is not right ..i make my calculus …

Member Avatar for weblover
0
96
Member Avatar for edwardtong694

Hi Guys Im having a problem. Im very new to Java and am using blueJ. I would like to displya a picture on a label when I click a button. At the moment all I can get it to do is to print a message when a button is clicked. …

Member Avatar for JamesCherrill
0
97

The End.