32,199 Topics
| |
i need to know we can use fuzzy logic in determination,manipulation &identification of wave characteristics eg signal generated by voice ,brain waves etc. if yes ineed to know where i can find this concept.plz help me regarding this (i came to know that voice recognition in cell phones exists but … | |
I was inquiring about the button group in the outlook panel where the buttons collapse. Does any one know what that code looks like. Could you send me someathat? Thanx Merry x-mass | |
I'm new to Java and I'm wonder if someone can help me with this. I have a class that's constructor makes a Gui window, and it's main calls this constructor. The problem is the event handling doesn't work because the event handling code can't access the GUI window variables (It … | |
Hey guys! This is my first post, as im new here :S I have a simple problem for a big program. We have a .sh to install it, but when I run the .sh in terminal like i should, It says the class is not found. I believe it has … | |
Dear fellow developers, Below is code calculating your weight on different planet using Enum type, from the book of Java Tutorials. Can anyone tell me what does `"%"` mean in `"%s"`, `"%f"` and `"%n"`? How does all three managed to get in the for-each loop without being declared explicitly before … | |
I have a rather vague question on Applets. Is there some way for the Applet to communicate back with the JavaScript that runs it? I use the PARAM tag to send information (cookies with username, settings, etc.) in, but I want to be able to get information back out of … | |
Hey. I'm having some difficulty in Array lists. I have to find the average of all the numbers in an array list. That's my first task. My second one is to find the mode of all the numbers, meaning the number that shows up the most. And the third one … | |
hi there everyone! :D i'm new here and i'm wondering if you can help me with my java programming. actually it is my project and i'm having a difficult time with it. here is is my code. its about array computation, 1st you will input how many operators you will … | |
I don't understand it mean? Who can help me explain it?Thanks in advance! for example this programe: [code=java] public class score{ public static void main(String args[]){ int a[]={90,98,97,67,89,68,76,69,96,66},sum=0; double ave; for(int i=0;i<a.length;i++)sum+=a[i]; ave=sum/10.0; System.out.println("Average="+ave); for(int s:a)System.out.printf("%4d",s); System.out.println(); for(int s:a)System.out.print("%4d",(s-(int)ave)); } }[/code] | |
I am trying to implement a feature when the user clicks a specified shape (trigger) on the screen that an event is triggered. The following code is a class that I have written that implements mouse picking. [code=java] class Picker extends PickMouseBehavior { private PickCanvas pickCanvas; private Node trigger; private … | |
Hi everybody, I am new at GUI and I need your help.. I have a JPanel, named "holdAll", layout of which is set to BorderLayout. I have implemented all other JPanels in different class files. For example, I have TopPanel, LeftPanel, etc. as shown below LeftPanel myLeft = new LeftPanel(); … | |
[url]http://c64s.com[/url] This is amazing!! | |
Need Java 1.4 MCSE solved question parers... Please help me.. | |
RE: my earlier stupidity... MY CREATION LIVES!! its 06:15 friday morning here in Dublin, and my cmd line program _successfully_ 1. Returns whether input.txt of up to about 70KB is written in French or English 2. Based on 2 letter digram segments now all I have to do is write … | |
i need a program that asks for one number and output like this: 1234 123 12 1 12 123 1234 [COLOR="Red"][B][U]NOTE:[/U][/B][/COLOR]: in the example above the input given is number 4. requirement doing this in using nest FOR loops. i started coding it bu i dont get the algorithm or … | |
Hey guys, I am writing a desktop app to interact with XML. It reads the XML fine using the DocumentBuilderFactory, but when I try to save any changed to the XML file (e.g. setNodeValue()) the changes do not save. As an example here is some code I tried, just to … | |
Hi. I´m having some trouble with my search code. I'm trying to make it search in either my varenummer field or varenavn field. My method to do so looks like this: [code] public KasseInterface søgVare( String varenummer, String varenavn ) { System.out.println( "Søger efter vare med varenummer: " + varenummer); … | |
Can anyone please help me with my sorting Array...my teacher asked me to do a code for sorting array using html and servlet. I don't know how to start this program since I am still new in java...please help me...if you can provide example code then that would me appreciated... | |
Can anybody please tell some way to access MS Access database from a jar. I am using the following line of code: ClassLoader.getResource(databaseName); But its not working. Can anybody please help? Thanx, Vishal | |
We currently have a working JSP script that can add and average integers, now our professor wants us to make the same script but using a different language, she wants us to program it using "java servlet". Our script is currently posted at [url]http://www.patrickmagpantay.com/wishlist.html[/url] . Please help us :( | |
I coded a script, Currently I can add and delete items to the database but I cannot edit the data. Here's my 3 paged script : Christmasswishlist.java import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.sql.*; /** * Servlet implementation class for Servlet: ChristmasWishlist * */ public class ChristmasWishlist … | |
[code=java] import java.io.*; import java.util.Scanner; class heh {public static void main(String[]args)throws Exception { BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); Scanner me =new Scanner(System.in); int a[]= new int[20]; boolean find = false; int b; int c; System.out.println("Enter 20 numbers:"); String read=input.readLine(); String token[]=read.split(" "); for (b=0; b<20;b++) {a[b]=Integer.parseInt(token[b]);} System.out.println("Enter No. u want 2 … | |
Can some one please guide me on creating a JSpinner that only supplies value on MouseRelease Events. As dont want to send the intended application updates as spinners contents while rapidly changing. (there needs to be a timeSinceRelease accounted for.) but Its what i need to write like the particular … | |
Hi, I'm new here, but you'll probably be seeing too much of me before long ;) My names Daniel. I have this sort method for sorting (essentially) an array, but it does strange things that i can't quite figure out, and it doesn't sort. the array is a feature of … | |
hi I have created the discard method in my player class and play is a Card[] so i type currentCards.discard(numOfCard); and then it says "it cant invoke discard(int) on the array type card[]" any help is appreciated thanks | |
Hi.... I've wrote a code about arrange the names in descending order. But, I'm not sure it's right or wrong. Can u help me, please? The code is: import javax.swing.JOptionPane; public class Names { public static void main(String[] argus){ int i = 0; int n =10 ; int j; String … | |
Can anyone help me to do this if a jTextField has text like this 1A2B89C0 array[0]=1; array[1]=10;//A should convert to 10 ,B to 11,c to 12,........ array[2]=2; array[3]=11;//B to 11 array[4]=8; array[5]=9; array[6]=12;//C to 12 array[7]=0; actualy this part is needed for a program which is convert a number in … | |
word.doc attached. please tell me if it isn't attached thanks | |
Hi Friend's... I can't make this program...Plz help me to make this program.. Make a Driver class TUNES.In this class Creates a CD Collection Object and adds some CD's to it Prints reports on the status of the collection.and then make a class CDCollection and write a constructor that creates … | |
I have made application using JBuilder 6 (JRE 1.3) Operating system WIN XP (JRE 1.3) When I run application in JBuilder evrything works fine. Now I made executable .JAR file using JBuilder (wizard -> archive builder -> application) When I executed the .JAR file the background color on JButton (javax.swing) … |
The End.