32,199 Topics
| |
hello...i m makin a calculator which inputs a expression n gives the result. suppose i hv entered an expression( e.g. 12 + 3*5 -7) into an string variable .now if i want to check the string from starting index that it contains an integer or not ,then what is the … | |
Can i show any other word instead of "null" in an array ? | |
I created a executable jar using command [CODE]jar cvfm swingDemo.jar manifest.txt *.class[/CODE] But when i open it then it does not work and also do not show any error message. I used 'extcheck' tool on this jar then it showed following message: 'The target file does not have specification title'. … | |
Iam making project in the steganography grey scale please help me.language is java netbease please helpe me how to add the image path in the netbeans | |
I'm using the SQLite java Wrapper from [url]http://www.ch-werner.de/javasqlite/overview-summary.html#jdbc_driver[/url]. The only changes I made to the Windows MS Visual C++ make file (javasqlite3.mak) were to the locations of JAVA_HOME (mine is not in the C:\ directory. But when I run it I get the following error: "Unexpected token 'javasqlite.mak' in expression … | |
[CODE]import javax.swing.*; import java.awt.*; class drawer extends JPanel { Color color; int x; drawer(int x,Color color){ this.color=color;//color of rectangle this.x=x;//size } public void paintComponent(Graphics g) { super.paintComponent(g); g.drawRect(0,0,x,x); g.setColor(color); g.fillRect(0,0,x,x); } } public class layers { public static void main(String[] args) { JLayeredPane layerd=new JLayeredPane(); layerd.setSize(800,800); layerd.setVisible(true); layerd.add(new drawer(50,Color.BLUE),2); layerd.validate(); … | |
Hi: I'm working on a mini-game ish sort of applet using Eclipse. I am trying to get a picture I have in my folder of a dot to show on my applet. and be able to move it freely. Since I have other parts of the game planned out, parts … | |
hey..im new to JAVA...i wanna use an Icon for a JButton..i did it already but unable to do so in the project that im making.... the back.gif is in the same folder as the .java file...it compiles well... just shows a blank white icon.... can you please find the problem … | |
Hi all, i need to analyze video in java, find certain color in every frame... anybody know good tutorial? | |
Hello, I really need help with my payroll program. I just need to input the name, wage, hours, and then get an output with the results. The output needs to show employee name, rate, wage, and total pay. here is what I have written so far. Please help! I am … | |
Hi everyone, Can someone help me to solve this question? im attaching the question as i cant post the matrix here. Thank you | |
Is it possible to convert a set of images of an object into its 3D model using Java ? | |
I am writing a program which will read a properties file. I craeted the properties file and placed it in the same location of the class file. But when I am trying to run the program from eclipse, it can't find the properties file, but if I specify the full … | |
Hi everyone, I want to make a page with a table. It has three TD's: 120px, fluid ([code=css]min-width:500; max-width:700px; /*This is for the fluid TD*/[/code]), 120px. How am I supposed to write the table? Would [code=html]<table width="100%"></table><!--or--><table width="all"></table>[/code] work? Or does anyone have an idea of how I should do … | |
For my application we use scan guns to scan barcodes to do various things. My issue is with tabbing. We scan a barcode that represents the ">" sign. When focus is on the combobox box and they scan the ">" sign it places the ">" in the combobox. How can … | |
I'm very new to Java and I'm basically teaching myself. I'm writing a program where I need to plot some values. I have a while loop and I need to print x and y values to a text file that I can later graph using gnuplot. If someone can help … | |
[CODE][/CODE][COLOR="Green"][B][/B][/COLOR]Hi everyone! Question??? I have created a source code for converting Decimal numbers to Binary. I haven't done this in a while so I need a litte help on figuring out what is wrong with my code. The problem is I enter the JOptionPane class in order to prompt the … | |
Hi there, thanx everyone who contributed last time. I got a simple way to make the server chat with a connected client. But the problems now are: 1. how do i get the know of the other users who are online. 2. how do i get get clients communicate independently … | |
Is it possible to load in a txt file into java, but from a folder in say the c: drive - as opposed to placing the text file in the java project itself? Thanks in advance for any help | |
that is in an iframe my script call from that iframe [CODE]var LOL = new swfobject(' http://example.com/wawa.swf ') LOL.addvariable( 'pass' , 'abcd' )[/CODE] how can i get abcd?? | |
Hi, I have used HashMap in my program.I need to know the capacity of the HashMap. Now i am currently storing 5000 records in hashmap.I need to know the Maximum capacity. Thank you, With Regards, Prem | |
Hi Folks, I have been searching to find a reglular expression that deals with decimal points, they are not mentioned on the Sun Tutorials for Regular Expressions. Basically im trying to verify that a string taken in from a screen matches the format of (15).99. This is not for my … | |
I'm try to go through a file that's formatted as follows: f 5//10 3//2 6//3 f 9//3 20//15 3/20 etc. I want to pull out the numbers, subtract them by some set number, and then output them. I'm using a scanner to read each line of the file, but next … | |
Hi, I have downloaded and install the ActiveMQ to my local system.Now i want to implement the chat functionality using ActiveMQ.Can you say some Steps how to implement it using java.And when i clicked the below URL .The Page not Found Error is Occured. [url]http://localhost:8161/admin[/url] Thank you, With Regards, Prem | |
Note: NotePad.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.[code][/code] | |
Can somebody help me i want to send a mail for forget password n iwant to send a link of my reset password page in it please help me Thanks in advance | |
Hello everybody, I have developed my software using NetBeans IDE 6.9: very simple, a db on a remote server, a JDBC:ODBC bridge connection in order to access it and everything was working fine, until I was ready to deploy it, and I fell in this problem of 32-64 bits conflict. … | |
is there any layout manager or some other way to add a label or any other component starting from a specific point like we draw rectangles i need this because i want to move the label around with input. | |
I have 3 separate questions. I'm trying to develop a program that displays several vocabulary lists and has a row of buttons at the top for selecting the lists. These buttons don't appear until I re-size the window. Does anyone know why this occurs? Second, I've extended the JPanel class … | |
How would you split an existing string where a chararacter occurs into an array of strings, and store that character in a char? For example, inputting 123a5 would return {123,5} in an array and 'a' in a char. I've confused myself with this. I will greatly appreciate any help. |
The End.