32,204 Topics
| |
Hi.. can anyone understand this piece of flowchart,i dont understand. the flow cart is in the attachment. and below is my source code implementation [code]input int n; int i=0,a,b; if(n>0){ while(i<a){ if(n>i){ if(n>a){ if(b>a) b=1; }else{ n=a; if(n*b >i) b=1; } }else{ n=1; } i++; } }[/code] i dont know … | |
Hi, I have 2 applet problems. 1) I uploaded a new jar file to server to replace old one. When I load web page in browser for that applet (on this pc), I keep getting the old jar file getting loaded as the applet (even on different browsers on this … | |
Hi there, I have some problem with accessing API using PHP. Here is the story : I use PHP as my main script on my webserver. I want to retrieve data in database server (oversea). The database server provides API and it's available to download. So I download the API … | |
[CODE]public class Human { private String name; public Human(String name){ this.name = name; } public String getName(){ return name; } public String toString(){ return "Human " + getName(); } } interface Electrician{ public String changeBulb(); } interface Plumber{ public String unplugDrain(); } class HandyPerson extends Human implements Electrician, Plumber{ public … | |
hey, i have been asking for help for almost a week and there is no reply what so ever. from anyone ... please help i am so so so stuck and i have been stuck for days.. i am creating web services in netbeans (ws-jax) i want to return array … | |
[CODE]class R2 { final int t; void doit(){ t=7; } }[/CODE] Blank finals allow us to declare a final variable without explicitly initializing it. We can initialize it only once later. Then, why is th above code not working ? | |
Hi, I am new member. I am not from any technical background but still like very much on how to develop application software and doing research regularly. My question from expert like you is Is there any powerfully software available that automatically create software without and coding knowledge. still conceptualizations … | |
Hey everyone, I'm programming (obviously) and have run into a challenge. I'll cut right to the chase, if someone would tell me how to compare a variable to each item in an array I would be very grateful. Thanks for the help! -[B][I]WolfShield[/I][/B] | |
I can understand that the subtype covariance relation should not hold for parameterized types, but why should it hold for arrays ? One of the books (Khalid Moghul) said [QUOTE]This relation holds for arrays because the element type is available at runtime[/QUOTE] How does the element type being available at … | |
Does anyone know why the SessionBean in the netbeans keep disappearing? I did nothing but some hard coding. But when I go back to the design page, I realised that my SessionBean is no longer there. In fact it has happened several times and even resetting netbeans doesn't help. Is … | |
Has anyone got any clever tricks for determining the size of the contents of a directory without doing the obvious (descend recursively and count bytes)? I'm trying to make a progress bar happen for a recursive descend-read-and-load of a directory, and it would be cool if I could track it … | |
Dear team, I have done some java programs .Still i am confused what is the difference between j2se vs j2ee vs j2me . Can any one explain what is the diffrence . I want to do sun certificate in java.Can any one have idea about the sun certificate. Thank you, … | |
Few questions on over riding. I am interiting a method openRead from another class, the method is to be overridden so that the scanner class uses the provided delimiter pattern, which is referenced. I need to make use of the scanner method. method from another class [CODE]public boolean openRead() throws … | |
hai i want to embed browser in my java program i google and find JDIC.I dont know how to use it. So i really wanna ask can i use Jdic to emmbed browser in my java program. Is there any good tutorial. . | |
hey, how do you return array value from the server operation/method back to the client. i create operations in the server using the "design view" and by adding operation where i declare return value and parameters of the method. the project is created in net beans. please help i been … | |
Dear friends... Here i am trying to use openCV in java using NETBEANS(windows XP).., For that i did the following .. [B]1-Install OpenCV-2.2.0-win32-vs2010.exe in C:\openCV 2-Then i put the javaCV and JNA in the library (System path.) 3-The i use thae following code in the netbeans[/B] [CODE] package samplejavacv; import … | |
Hi, I'm looking for some project ideas for my postgraduate studies.. am interested in embeded technologies with wireless data mining. Please could people suggest possible topic related the field am interested in.Reply me as soon as possible. The platform i plan to develop is Java. Thank you. | |
hi guys, i am generating a certain element using javascript inside a table.. now, my problem is that, inside a cell, i will input a text and a textbox.. if the sequence is like this, text textbox both displays in the screen, if it's like this, textbox text only the … | |
I am sorry again I have exam tomorrow this program like that exam questions I think so so I need to learn how I can do it program if someone help me and thank you so much Question:Train stations often provide ticket machines that print a ticket when a customer … | |
hi I need to this program I didn't understand this program and I couldn't anywhere someone is help me A Salesperson at a company receives a set salary each month plus commission based on the number of products sold during the month Create a Payroll Program that can do the … | |
Hi. I have this code but I want it to store the same data and function using objects. However, I would like to also know how to get information from the objects in an ArrayList. Currently the information is stored directly without the using of objects. I also want to … | |
Can anyone please give me an example of passing information FROM java to PHP and vise versa. | |
I have a HW. It must be sent to the teacher in 12 hours. Any help would be great. I need to do this using JSplitPane: [URL="http://javafaq.nu/free-swing-book/Chapter8_files/image002.gif"]http://javafaq.nu/free-swing-book/Chapter8_files/image002.gif[/URL] There are moving balls in seperate panels(not imaages). Smaller the panel's area, faster the balls move. I did the JSplitPane and Panels but … | |
Hi all, I am trying to apply Hamming window on my lengthy sound data soundSample[1000] with window length 100. Then proceed with FFT. And i found that java does have the package for Hamming window and FFT. As below, [url]http://code.compartmental.net/minim/javadoc/ddf/minim/analysis/FFT.html[/url] [url]http://marf.sourceforge.net/api/marf/math/Algorithms.Hamming.html[/url] But i hardly find an example that illustrate how … | |
I am working on this exercise: Write an application that asks its user to type a complete sentence on one line. The application then displays in the console window the words in the sentence, one word per line, less any punctuation. I have the following code: [CODE] import javax.swing.*; import … | |
Hi, I've decided to make a hangman game. I made this in Python last year, however I'm a little bit stick in Java, since I'm quite new to as well as Swing. Anyway, the problem I'm having is that my while loop keeps terminating if I enter 1 incorrect letter, … | |
Hey, I'm trying to get a random number for a small game which lights up random lights. I can't figure out a way to get the number random. I've tried seeding the Random() function with current time, but it's not working. It always lights up the third light. Here's my … | |
Consider the following code : [CODE]class R2<E> { E a; E get() { return a; } void set(E a) { this.a=a; } } class R3 { void doit(R2 a) // (1) { a.set(new Integer(5)); } }[/CODE] When I compile the file containing class R3, it rightly gives an unchecked warning … | |
hi, all i need a code for ant colony optimizaton algorithm in java can u help me regarding this |
The End.