36,051 Topics
![]() | |
I am making an application for blackberries and wanted to make use of touch capabilities on touch capable phones. Is there a way to do this without making two separate projects (like I would in c with preprocessors that check the compiler)? An idea of what I'm trying to do … | |
Hello guys ; I have a question in java . is it possible to great a method in java program that : if ( user press "Enter" ) do some thging I tried this simple examples , but dosn't work with me [CODE] Scannaer in = new Sccanner (System.in ) … | |
I'm trying to create a string array, but the compiler keeps giving me an error message on the lines I assign a value to each index of the array. Here's the code: [CODE]String[] greeting = new String[4]; greeting[0] = "Why, Hello there!"; greeting[1] = "Welcome."; greeting[2] = "blah blah blah"; … | |
class Superclass { void display() { System.out.println("Super"); } } class Sub1 extends Superclass { void display() { System.out.println("sub class1"); } } class Sub2 extends Sub1 { void display() { System.out.println("Sub class2"); } void display2() { System.out.println("Second method"); } } public class reference { public static void main(String[] args) { Superclass … | |
Hi everyone, I'm having a little problem I'm sure someone can help me with. I'm trying to read in 10 png images and save them in an ArrayList as BufferedImage objects (I think this is the right way to go about it but if not plaease say so). Here is … | |
I want detailed explanation about static int var; final int var; static final int var; Please explain it in the memory implementation level. If there is any mistake in these please explain. __________________ | |
Hello everyone, I am a semi-amateur web designer/programmer, however I am confused with the designing/coding of tumblr blogs, could someone help me code it. I want a two column design, one side for content with a header, the width of the content/ header will be 500px There will be a … | |
Hello Friends, I was reading about the orthogonality and it's advantages. Then heard something like "Java is an Orthogonal Language". Can anyone explain me what do we mean by a particular programing language being orthogonal? If I am using Java for development of my application, does it imply that my … | |
ah i am I.T 2nd yr student making my project in core java.Can any one tell how to make event in mind fiddler game (e.g kbc). can any one give me codification in making my project get started.plzzzz results needed... | |
Hi ALL! I need a suggestion/idea how to create a 3D Tag Cloud in Java (exactly like shown here: [URL="http://www.adesblog.com/2008/08/27/wp-cumulus-plugin/"]http://www.adesblog.com/2008/08/27/wp-cumulus-plugin/[/URL]) , could you help, please? | |
My program has 8 JButtons and 1 JTextField. Each button should change the text in the text field to something different. I started out having an action listener for each button but i would like to link all the buttons to just 1 action listener and have it recognise which … | |
Please suggest me some projects in java for my last year project work. | |
Hello i will like to have an explanation to this task: Make a midlet (called "NetworkSettings") that has List (IMPLICIT type called "mainList") as its main view. "mainList" contains following items: "Encryption", "Basic data" and "Summary" (actually items will describe views). When user selects one of those items from "mainList" … | |
Hey.. i'm making a java program with derby databse usin netbeans.. the problem is that when i crate table usin a sql query,netbeans automatically sort them by name..how can i let netbeans sort them by date of creation so i can switch between tables in order of creation??... thx for … | |
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 … | |
Hi experts , I have finished my web application , and now I would deploy it in centos , I need to call my web application the index page like this url [url]http://intranet[/url] it goes directly to index page . My web application including the index page is under Root … | |
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. | |
Hi All, I have written a JSP file which will run query, get the result in a csv file and send the csv file daily to an email address. But how can I execute this JSP file daily in Linux? Can anyone help in this? | |
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. | |
hi everybody!!! im new in developing systems using java.. i want to develop any system i need help. i dont know what to do. if you have any idea on what i can do please help.. | |
I need to write an application that reads a distance in metres. The program will then convert the distance to kilometres, feet and inches, by calling methods. Here is my code so far... looking for pointers please. [CODE]import javax.swing.JOptionPane; import java.text.DecimalFormat; /** This program converts meters to kilometers, inches, and … | |
Hi I am developing a website in that i want an automatic email should be send to the user and the data entered by user should get stored in database(mysql) when the user fills the form Can any one help me with that. Thanks in advance | |
Basically i want to make a platform game in java purely from the java 2d graphics. I have managed to link the keyListener to update variables which my graphics pane can then use to draw my images. But i cant do is get my image to refresh after the variables … |
The End.