32,199 Topics

Member Avatar for
Member Avatar for mayursharma

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 …

Member Avatar for jon.kiparsky
0
172
Member Avatar for Xufyan
Member Avatar for mayank.dyl

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

Member Avatar for NormR1
0
117
Member Avatar for Anum Sharif

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

0
29
Member Avatar for drnshaw

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 …

Member Avatar for ~s.o.s~
0
446
Member Avatar for gauravk_bhanot

[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(); …

Member Avatar for new_programmer
0
306
Member Avatar for runee1000

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 …

Member Avatar for MTSranger
0
101
Member Avatar for neo_31591

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 …

Member Avatar for tong1
0
108
Member Avatar for curdiMan

Hi all, i need to analyze video in java, find certain color in every frame... anybody know good tutorial?

0
23
Member Avatar for capsitan

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 …

Member Avatar for NormR1
0
152
Member Avatar for suguna07

Hi everyone, Can someone help me to solve this question? im attaching the question as i cant post the matrix here. Thank you

Member Avatar for Xufyan
0
66
Member Avatar for Umesh17_89

Is it possible to convert a set of images of an object into its 3D model using Java ?

0
60
Member Avatar for java_programmer

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 …

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

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 …

Member Avatar for kooia
0
146
Member Avatar for cjmartin

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 …

Member Avatar for cjmartin
0
139
Member Avatar for gor.irina

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 …

Member Avatar for java_programmer
0
134
Member Avatar for Mirage'

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

Member Avatar for Mirage'
0
231
Member Avatar for sitajaf

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 …

Member Avatar for NormR1
0
106
Member Avatar for spadusca

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

Member Avatar for JamesCherrill
0
145
Member Avatar for wwefriend

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

Member Avatar for NormR1
0
62
Member Avatar for prem2

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

Member Avatar for JamesCherrill
0
90
Member Avatar for man in a can

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 …

Member Avatar for eerol
0
2K
Member Avatar for SiraRaven

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 …

Member Avatar for masijade
0
127
Member Avatar for prem2

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

0
27
Member Avatar for $harmi

Note: NotePad.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.[code][/code]

Member Avatar for JamesCherrill
0
83
Member Avatar for kapsroks

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

Member Avatar for kapsroks
0
737
Member Avatar for elmoualh

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

Member Avatar for elmoualh
0
228
Member Avatar for gauravk_bhanot

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.

Member Avatar for gauravk_bhanot
0
3K
Member Avatar for nocookies92

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 …

Member Avatar for new_programmer
0
2K
Member Avatar for Rockyboy53

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.

Member Avatar for Rockyboy53
0
83

The End.