32,204 Topics
| |
Ive know started up programming again. My last try was in delphi where my best project was a security screensaver. Ive know decided to start up programming again and my choice this time was java whit netbeans and my project would be to rewrite the Security screensaveer and add any … | |
i trying to write a code which will read from user input of the percentage of some words to be appear. [B][U]example[/U][/B] user will input 50 5 when the program runs. 50 is the total number of runs and 5 means of the total runs it will have 5% of … | |
hi, I am trying to solve this game. The goal of this game is to fill a 4x4 grid of numbers so that each column, each row and each of the four 2x2 boxes (called regions) contains all of the numbers from 1 to 4. The figure below shows a … | |
Hi, I am using a code to read a grayscale image and store the pixel value in a 1D array. But the code is taking a default image(though i am providing the complete path for the image to be loaded) and the height and the width are returned as -1. … | |
there are many key words in java cryptography and none of them is been recognized in my system. Is there any way i can implement java cryptography...? | |
Hi, I am using a code to read a grayscale image and store the pixel value in a 1D array. But the code is taking a default image(though i am providing the complete path for the image to be loaded) and the height and the width are returned as -1. … | |
hello, in the below code i have established conection through jdbc to oracle database,here my program will give continous ping to the server and stores the result in to the file. again by opening the file iam reading the file and searching for the "Request Timed out " pattern and … | |
I have written two classes, one the GrabPixels class which takes an image and extracts the pixels from it. The FFT class then tries to call grabPixel. The problem I get is that img in this line [CODE]grabPix = new GrabPixels(img);[/CODE] is null. I'm not too sure why. Could someone … | |
how many days will it take to get perfect with core java? any shortcuts? | |
i'm trying user login ...logged in users are sent to a hash map for further reference. my prob is hashmap creates new map every time a user logs in......how to put all the users in a single hashmap...? thanks beanboy | |
I've been giving myself a crash course in Java using some lectures from Stanford, and I started working on my practice midterm yesterday. So I'm reading my way through Sun's Java tutorial, and they don't define what the operator *= is, and that's the third question on my practice midterm. … | |
hi i am a new one to this community i have a problem in my code ,in that when i try to implement keylistener it works only for text not for image while using drawImage the image painted but not moved and when iam trying it with draw string keyListener … | |
Actually , i must admit , i did not knew about connecting with database but i am trying to learn , i want to insert data into jtable from Ms acess database , i have made a table called song_library there and also created the dsn as testy1...Also in the … | |
Hi everybody sorry if the title is misleading what am meant to say does anyone know of such a book or anything where I or we (depending anyone coming back to this thread) lol Know were we can see step by step on how to build application on java you … | |
i am done with almost all the functions of a simple mp3 player , i am trying to make , i 'm stuck with pause function, i dont know , i was thinking of creating a separate thread for it... [code] private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) { song_name=(String) jTable2.getValueAt(jTable2.getSelectedRow(), 0); if(count>0) … | |
Dear Members, I developed following class to creat a virtual key boad. While user will click it should type that number to login field. The class is compiled with jdk1.6.0_14. successfully But while button is clicked its not typing that number to login filed. Kindly help to resolve this problem … | |
may i ask again!different question but still use netbean! i want active a tombol in a condition, i have 5 question in panel a if the 5 question is true tombol in panel b is active!how the idea,i tried use method getParent but is not succes!thanks all and how change … | |
Guys, kindly help me. How can user enter a character? or How can I use the Enumerated Type for this? Thanks:) [CODE] import java.util.Scanner; public class RockPaperScissors { public static void main(String[] args) { Scanner input= new Scanner(System.in); char x,y; System.out.print("Player 1:"); x=input.nextLine(); System.out.print("Player 2:"); y=input.nextLine(); switch(x) { case 'P': … | |
The code below runs successfully but once run and the user enters a message into the text field named input and clicks the button named send, I receive a null pointer expression. Within the inner action listener it calls the method sendMessage() which gets the text and assigns it to … | |
i have a requirement of adding rows which consist of textboxes and select box. the values stored should be set in the form. I am using Struts jsp. i tried using indexed properties on forms along with logic iterate tag.... | |
I am thinking of building a media player that could read all the audio ,video file types as my final year project using java in the linux environment( fedora core 4). But i don't know from where should i start, pls is there anyone who can help. I will be … | |
Hi, I am getting parsing error in xpath transformation String s = "if (/blah/text()!='') then blah/text() else ''"; XPathExpression expression = xpath.compile(s); Object o = expression.evaluate(target, XPathConstants.NODESET); I am using normal core java and xml packages to parse import javax.xml.parsers. DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.xpath.XPath; import javax.xml.xpath.XPathConstants; import javax.xml.xpath.XPathExpression; import … | |
hello , i am new to web applications.in my final year project,earlier i was making call to database to get the data.Now i have to replace that database call with a webservice call. i used axis2 to create a client stub and than wrote the java client to consume the … | |
hello everyone, i m new to dotpropertyfile.please help me in this. How to use dotPropertyfile in java. thanks in advance. | |
While I am familiar java but i am basically new to creating a GUI using java. I need to make it so when a user clicks on a button another window pops up displaying various statistics about that product. The thing is the amount of information I need to display … | |
Hello! Today I started a SourceForge project for the game that I'm making, and I wanted to get input on the Map Builder/Editor. I DID include a readme file that has directions, contact info, and future features. [URL="https://sourceforge.net/projects/jiso/files/Map%20Editor/"]JISO Map Builder[/URL] Please give me feedback, this is a project that I … | |
i have subject advanced java programming in my syllabus i will be learning socket programming servelets, corba,AMI,java beans etc. I have heard about apachetomcat server.How do i get the required software from net.thanks | |
I'm trying to get a calculation done in a loop but don't want it to print until after all loop are done. It will print but the calculation isn't done. Please help. import java.util.*; public class FlipCoin { public static void main(String[] args) { String choiceString; final String HEADS = … | |
i have a code with me [code] import java.applet.*; import java.awt.*; /*<applet code="DialogTester" width=400 height=400></applet>*/ public class DialogTester extends Applet { public void init() { Container container=this.getParent();//this ;why not create object of the class and call the function while(!(container instanceof Frame)) { container=container.getParent(); } Frame parent=(Frame)container; Dialog myDialog=new Dialog(parent,false); myDialog.setLocation(320,240); … | |
[COLOR="Red"]hi everyone im doin a java application that should show the records in tha database on a jtable the code so far is this:[/COLOR] [code] /** * @(#)table.java * * table application * * @author * @version 1.00 2009/8/14 */ /* * SimpleTableDemo.java is a 1.4 application that requires no … |
The End.