32,199 Topics

Member Avatar for
Member Avatar for newcook88

can some one help me to develop the code for the following methods [CODE]private void add(Bucket bucket) { // is the bucket in the table? // can it be added to the table? // can the bucket be added at its hashed index? // what is to be done if …

Member Avatar for BestJewSinceJC
0
124
Member Avatar for freddiecool

Hi, i am making an event calender but i'm stuck with making sure that a user choose a valid date (a user should'nt be able to choose a start date that is after the end date). Could anyone point me in the right direction please? My code is still a …

Member Avatar for BestJewSinceJC
0
153
Member Avatar for Der_Kaiser

Hey there folks,I've been takinga course in data communications, which for the most part has been completely over my head, but anyway, for a project I need to write an instant messenger program. Prof as very vague about the detais, so I think It can be as simple as possible, …

Member Avatar for BestJewSinceJC
0
164
Member Avatar for bokz06

i have a mydata.txt file with this in it: [ICODE]B.Friedel 38 LRC usa 20 1 1 1 21 410 300 300 300 18 0 1673 0 76 26 0 0 0 0 0 0 0 0 M.Fulop 26 LRC hun 17 1 1 1 26 308 300 300 300 1 …

Member Avatar for bokz06
0
5K
Member Avatar for javedali

I am developing e-library for visually challenged people, in this system i kept a utility to add book from one interface. I want to store the location of the actual book in the database while adding a book. For e.x. I am storing the book at c:\books\pdfbooks\bookname.pdf this location c:\books\pdfbooks\bookname.pdf …

Member Avatar for BestJewSinceJC
0
198
Member Avatar for lazarus_5

I am trying to put together a simple inventory program for my class, but I keep running into one error that I just cannot seem to correct. Here is my code: public class DVD extends Product { // channel that the show was on private String channel; // constructor public …

Member Avatar for BestJewSinceJC
0
116
Member Avatar for dproun

My code is [CODE]package diningphilosophers; class DiningPhilosophers { // Η κλάση αναπαριστά την εφαρμογή static Philosopher philosopher[]; static Forks forks; static DiningRoom diningRoom; public static void main(String[] argv) { philosopher = new Philosopher[5]; forks = new Forks(); diningRoom = new DiningRoom(); for(int i = 0; i < 5; i++) philosopher[i] …

Member Avatar for dproun
0
136
Member Avatar for amerabdullah

Hi, would someone please help me with the following quotions (the required is to implement a simulator for processes scheduling that takes a file contains N of processes each with required details,and then after reading these information from the input file ,the scheduler should schedule the processes for execution. input:N …

Member Avatar for BestJewSinceJC
0
82
Member Avatar for bluerose

[COLOR="Green"]Hello all.. I have a problem with my program in here. I am making a chatting application and i just need a final touch. This is the code snippet i make to represent my problem. First, i'd like to tell that i want to make the sending process like the …

Member Avatar for bluerose
0
355
Member Avatar for m_sam6

hi i read about JMF and make some search about other techniques of video streaming but i cant get a definite opinion in making this efficiently (high quality video) i need to make a program to transfer video from webcam to other clients over the network thanks in advance

0
71
Member Avatar for DotA

I'm having trouble with a class which is fine until another method tries to access variables in the same class, seems like a scope issue to me. I get null pointers when i try to access an object which clearly works in a previous method. All my data and called …

Member Avatar for DotA
0
122
Member Avatar for alilskeetskeet

Hi, I am trying to code a program which will allow a user to search through a .db file for a word which is specified through an argument. The main class is in a different file. I am having a hard time putting the contents from the DB file into …

0
62
Member Avatar for alilskeetskeet

Hi, I am trying to code a program which will allow a user to search through a .db file for a word which is specified through an argument. The main class is in a different file. I am having a hard time putting the contents from the DB file into …

Member Avatar for BestJewSinceJC
0
121
Member Avatar for Q8iEnG

Hi mates.. I have a small question.. I have now 3 different classes, sounds ok? this is the 1st class, called "Wire" [CODE]public class Wire { private boolean Value; public boolean isValue() { return Value; } public void setValue(boolean value) { Value = value; } }[/CODE] This is the 2nd …

Member Avatar for BestJewSinceJC
0
159
Member Avatar for sasukeuchiha

Hi, I'm trying to find out how to call a method from another class every 0.5 seconds until I tell it to stop using a function from the same class (the class that is doing the calling). Does anyone know if this is even possible? I've done a few Internet …

Member Avatar for BestJewSinceJC
0
135
Member Avatar for knowledgelover

Hi there, have anyone experience with the Telephony API, and can help please?, I have googled about it, and I get downloaded all possible files but I still having problem in understanding some of the connectivity issues, should the PBX I am using in system be compatible with the JTAPI, …

0
100
Member Avatar for AirmanTheGreat

Hello yet again =) I am required to create a program that consists of two classes. The driver class calls on the other class to set/get radius and height variables and calculate the volume of a cylinder. The problem I am having is that; I create two objects with two …

Member Avatar for AirmanTheGreat
0
117
Member Avatar for wedunnit

I feel as if I have gone over this code until my eyes are bleeding. I am missing something, and I cannot seem to locate my problem. I am supposed to use an array to store my items, my output should display my items one at a time, and should …

Member Avatar for BestJewSinceJC
0
122
Member Avatar for lorenshia05

I'm trying to make a program that can send email from mobile phone, and i'm using Mail4ME API and NetBeans to develop it. Here's the error message : [QUOTE]java.lang.SecurityException: Application not authorized to access the restricted API at com.sun.midp.security.SecurityToken.checkIfPermissionAllowed(SecurityToken.java:170) at com.sun.midp.security.SecurityToken.checkIfPermissionAllowed(SecurityToken.java:145) at com.sun.midp.midletsuite.MIDletSuiteImpl.checkIfPermissionAllowed(+8) at com.sun.midp.midlet.MIDletState.<init>(+83) at javax.microedition.midlet.MIDletProxy.<init>(MIDletProxy.java:33) at javax.microedition.midlet.MIDlet.<init>(MIDlet.java:70) at …

0
56
Member Avatar for dragonspectrum

I am trying to access a Clientside server file from an HTML file. Can anyone help me with how to code it? :eek: here is what I have: [code=html]<form method="get" <if true then action=" :?: *****This is were I need to access Client side server ****** " else action= "file:///K:/web-content/Client …

Member Avatar for kvprajapati
0
272
Member Avatar for sarita_sree

Can u suggests me some powerfull but understandable java code for encrypting and decrypting password.The password should be encrypted and stored into the database and can be retrived ,decrypted

Member Avatar for kvprajapati
0
66
Member Avatar for monem

Hello" I want to capture live video from web-cam to view it in a web page to access it using mobile phone and software i'm using is java jdk6,jakarta Tomcat as server and the web page is JSP. Thanks

Member Avatar for kvprajapati
0
67
Member Avatar for asian_al

Should would i turn the following code: [CODE] import java.awt.*; import java.io.*; import java.util.StringTokenizer; public class ex74 { public static void main(String[] args) throws IOException { Frame f = new Fram(); String sent; StringTokenizer st; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter a sentence: "); sent = br.readLine(); sent = …

Member Avatar for kvprajapati
0
91
Member Avatar for custurd12

A real estate office handles, say, 50 apartment units. When the rent is, say, $600 per month, all the units are occupied. However, for each, say, $40 increase in rent, one unit becomes vacant. Moreover, each occupied unit requires an average of $27 per month for maintenance. How many units …

Member Avatar for BestJewSinceJC
0
1K
Member Avatar for taruj83

Hi, I want to create a web application that will let a user enter name in a text field and the application creates a newtab with datafields for that user to enter, it all must happen on a single page. There has to be one tab for each specific name …

Member Avatar for BestJewSinceJC
0
109
Member Avatar for BestJewSinceJC

Is using (in the paint method) g.clearRect() the correct way to clear the screen? It's working but I don't know if there is a better way. . google says it is supposed to clear automatically when update is called but that doesn't seem to happen.

Member Avatar for BestJewSinceJC
0
135
Member Avatar for Zima77

I am working on a project that involves creating a Vehicle class which has 3 data fields, one of which is an instance of a class rather than a fundamental data type ([I]owner[/I] is an instance of the class [I]Person[/I]). This class has multiple constructors for the varying initial values. …

Member Avatar for Zibo
0
415
Member Avatar for rwagnes

I have an nis server running on solaris. I am using the list function in the DirContext java class to discover the hosts. For example: ctx.list("host") returns the hosts in the hosts file. The problem is, there are also hosts in the ipnodes file.. How do I discover those hosts? …

Member Avatar for rwagnes
0
100
Member Avatar for Zibo

Hello. I've got such example statement: [code=Java]for( int i=0; i <= 10000; i++ ) myTextArea.setText( myTextArea.getText()+ i + "\n");[/code] What is the problem? I can't figure it out, why in every iteration of loop the text area isn't refreshing with new String added. When this loop is iterating, app freezes …

Member Avatar for Zibo
0
129
Member Avatar for hypernova

I am doing B.Tech in computer science and I am in the 1st year (I have almost completed 1st year) I want to learn a language in the forthcoming summer break (2 months) between the first year and second year, and am quite confused if I should go for [U]C++ …

Member Avatar for Narue
0
144

The End.