32,204 Topics

Member Avatar for
Member Avatar for pigmario

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 …

Member Avatar for febrilian samo'
0
739
Member Avatar for cms271828

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 …

Member Avatar for Akill10
0
226
Member Avatar for ms88

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 …

Member Avatar for mdew_47
-1
899
Member Avatar for hao90

[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 …

Member Avatar for hao90
0
111
Member Avatar for gedas

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 …

Member Avatar for gedas
0
124
Member Avatar for daudiam

[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 ?

Member Avatar for daudiam
0
156
Member Avatar for harry.jhone

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 …

Member Avatar for kvprajapati
0
90
Member Avatar for WolfShield

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]

Member Avatar for ~s.o.s~
0
90
Member Avatar for daudiam

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 …

Member Avatar for daudiam
0
169
Member Avatar for plasticfood
Member Avatar for jlovesfishiee

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 …

Member Avatar for jlovesfishiee
0
88
Member Avatar for jon.kiparsky

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 …

Member Avatar for jon.kiparsky
0
335
Member Avatar for prem2

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, …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for bangor_boy

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 …

Member Avatar for pbl
0
108
Member Avatar for usiyalla

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. .

Member Avatar for usiyalla
0
126
Member Avatar for gedas

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 …

0
88
Member Avatar for sijothomas

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 …

0
68
Member Avatar for compaquser

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.

0
48
Member Avatar for xuexue

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 …

Member Avatar for xuexue
0
103
Member Avatar for bizzystar4ever

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 …

Member Avatar for Eric Cute
0
101
Member Avatar for bizzystar4ever

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 …

Member Avatar for Eric Cute
0
144
Member Avatar for aligajani

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 …

Member Avatar for Eric Cute
0
167
Member Avatar for Mike516

Can anyone please give me an example of passing information FROM java to PHP and vise versa.

Member Avatar for jkon
0
145
Member Avatar for renovatiotr

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 …

0
57
Member Avatar for cielle

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 …

Member Avatar for quuba
0
1K
Member Avatar for bibiki

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 …

Member Avatar for bibiki
0
145
Member Avatar for axa121

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, …

Member Avatar for axa121
0
231
Member Avatar for bleedi

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 …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for daudiam

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 …

Member Avatar for daudiam
0
162
Member Avatar for sthanner
Member Avatar for Akill10
0
54

The End.