32,199 Topics

Member Avatar for
Member Avatar for Ramster

Hey guyz, can any one tell me how to run a java program in background of an OS(windows or linux) . Actually i am trying to develop an keylogger application in java. By the present status i understood it is some what difiicult , but i am not rdy to …

Member Avatar for JamesCherrill
0
70
Member Avatar for gowth08

hi ive been doing a project in which metadata for various filetypes(html, xml etc.,) are needed. are there any existing api's to do the above. ideas and suggestions

0
59
Member Avatar for theo19

[CODE] import javax.swing.*; import java.awt.*; public class Calculator { public static void main(String[] args) { new Calculator(); } public Calculator() { JFrame f = new JFrame(" "); JPanel textfieldpanel1 = new JPanel(); JPanel textfieldpanel2 = new JPanel(); JPanel row1panel = new JPanel(); JPanel row2pane1 = new JPanel(); JPanel row3pane1 = …

Member Avatar for majestic0110
0
196
Member Avatar for jrosh

I tried to add sroll bars to a textarea with the following code. It is not wrkin. Show me a way out! I just wanna add scrol bars to the textArea. class srolpane extends JFrame{ private JTextArea txtAr; private JScrollPane srlpane; private scrolpane(){ txtAr = new JTextArea(); txtAr.setBounds(250,50,400,425); srlpane= new …

Member Avatar for JamesCherrill
0
69
Member Avatar for moyphus

Hi to all I've formula like this one,., (((10000*5000)-2000*3000)*30/100),.,Can anyone sove this using prefix postfix notations,.,.,I can't find this,.,

Member Avatar for moyphus
0
72
Member Avatar for wildheart25c

you've read it once you've read it a thousand times! probably responded to it just as many times. Now i ask that you respond one more time I've added as many details as possible becuase i've tried the solutions in an old thread in this forum but no luck. [url]http://developers.sun.com/mobility/midp/articles/tutorial2/[/url] …

Member Avatar for wildheart25c
0
251
Member Avatar for Xamas

I wrote a Java program, and it successfully compiles and runs in NetBeans, but I'm not able to do the same in the [B]command line[/B], on Windows XP. It works ok with 1 class, but when I have few files 'package' I have a problems. 1.Start -> run -> cmd …

Member Avatar for Xamas
0
173
Member Avatar for ankitjain_dce

Hi All, We had an issue in our project that one user was able to see each other's data, we identified the problem as of caching by the proxy server of those users. On checking we found, we were not specifying any caching preference in our server side code and …

0
65
Member Avatar for Zaad

Hi; Im on the way of doing a concurrent application in java command line. I want is a way to stop a transaction in the middle of it when the transaction is happening in the application. In the GUI there is the KeyListener to handle the key inputs and invoke …

-1
73
Member Avatar for low1988

I have try to get used to the database -java connectivity with a simple address book application below : [CODE] import java.awt.*; import java.awt.event.*; import java.sql.*; import java.applet.*; import javax.swing.*; /////////////////////////////////////////////////////////////////////////////// //Creates the main window with top Menu toolbar. //This is also the class for the main declaration ////////////////////////////////////////////////////////////////////////////// public …

Member Avatar for masijade
0
88
Member Avatar for Gatayo

Design a drawing application (have a look at Microsoft Paint application on your Windows system). The application must have menus, and must be able to draw one or more sharps (e. g. point, line, rectangle, oval, etc). The application should use GUI components.

Member Avatar for majestic0110
0
97
Member Avatar for george21

I can't figure out why this won't put buttons 1, 2, and 3, on the top of the frame, with buttons 4, 5 and 6 on the bottom? I realize there should be space between the top row and the bottom row. import java.awt.BorderLayout; import java.awt.FlowLayout; import javax.swing.JButton; import javax.swing.JFrame; …

Member Avatar for majestic0110
0
149
Member Avatar for Gatayo

JSlider program to display one out of a possible 10 pictures in the window. You should be able to choose the picture by position tick on the Slide bar

Member Avatar for JamesCherrill
-1
62
Member Avatar for poojasweetgirl

i have to print this ******** *** *** ** ** * * ** ** *** *** ******** my code is [code=JAVA] class one { public static void main(String args[]) { String s1="*";int i,j; for(i=4;i>0;i--) { for(j=0;j<i;j++) { System.out.print(s1); } for(int k=0;k<8;k=k+2) { for(int m=0;m<k;m++) System.out.print(" "); } for(int n=4;n>0;i--) { …

Member Avatar for poojasweetgirl
1
161
Member Avatar for localp

i need to a Scroll bar or JScrollPane to My Jtree... I have googled and gone through several examples, but non seemed to have worked... Please can some one help me to solve this problem .. I simply need to have scrollers when the content of the JTree increases .. …

Member Avatar for localp
0
3K
Member Avatar for solomon_13000

Suppose if I want to save an object to a database I would: 1. Create a POJO and set the values captured from the JSP page 2. Parse the POJO to the BSL 3. The BSL will perform the database operation using POJO To set the values of the POJO …

0
61
Member Avatar for gibson.nathan

alright, i have been working on this code for two days. it is an assignment for my ap comp science class. i have tried several experiments that have all not worked. im supposed to make a proram that simulates an 11 sided dice being rolled, and it has to use …

Member Avatar for cgeier
0
201
Member Avatar for imclumsy

Hi I am trying to find out a way to swap two nodes in an unordered linked list. I want to find out a way where i can change the links of the two nodes so they are swapped. I know I am supposed to use the previous and next …

Member Avatar for masijade
0
1K
Member Avatar for sam1

hi every1 i am doing my final year project next year and i have decided to do something in java but cant think of it. does any1 have an idea of what to do thanx :) :o :surprised :confused:

Member Avatar for Ezzaral
0
432
Member Avatar for msalahu

Hello all, One of my application used following code which is developed in java 1.2.2 but now we are migrating this application to java se 6 where the following code is depracted. sun.misc.HexDumpEncoder.encodeBuffer Can any one guide for the above code replacement in java se 6 Thanks & Regards,

Member Avatar for quuba
0
377
Member Avatar for Hidden_mistakes

Hi i am using netbeans to make a tictactoe game so far this is my code: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TicTacToe implements ActionListener { //Class constants private static final int WINDOW_WIDTH = 400; private static final int WINDOW_HEIGHT = 400; private static final int TEXT_WIDTH = …

Member Avatar for Ezzaral
0
103
Member Avatar for Hidden_mistakes

Hi ive been working for a few days now trying to figure out how to make it so when a button is pressed in this game instead of just a simple X or O showing up an image of lets say a dog for X and a cat for O …

Member Avatar for JamesCherrill
0
107
Member Avatar for shroomiin

Hello everyone. I am new to java and am stuck on a problem i need to complete. The problem asks for me to create a program that calculates daily driving cost. The application needs to have total miles driven, cost per gallon, mpg, parking fees and tolls. Now, my professor …

Member Avatar for mrnutty
0
111
Member Avatar for Samyx

Hello everyone, I am having problems trying to install Java 3D in my laptop. Can anyone help me?

Member Avatar for Samyx
0
62
Member Avatar for heliumhelicopte

I am doing a POST login. To do so I am using a combination of HTTPComponents (Apache) and native Java libraries. [CODE] //send the stuff HttpResponse responder = httpclient.execute(poster); System.out.println(responder.getStatusLine()); //The output of this is always 302 Found String rawdata; //Use Sun's stuff to connect to the account home page …

0
39
Member Avatar for mseck

:confused:Hey I just started a programming class and stuck in a section of my assigment. i would like to know if someone could guide me to the right direction. Last instruction: " Write a script that reads an integer and determines and output XHTML text that displays whether it it …

Member Avatar for mseck
0
111
Member Avatar for KirkPatrick

Alright I have created an object, its a simple object. Basically just textfields and a combobox. I have them all in a gridbag layout with weightx and weight y set to one so that they fill out the panel I place them on. [B][U]Question 1:[/U][/B] What I'm wanting to do …

Member Avatar for KirkPatrick
0
95
Member Avatar for bugatha1

I recently moved from JDK1.3 to JDK1.5 and find that the display of parameter listings in javadoc output is now hard to read. The lines are too close together. I think this has to do with the fact that the doctype at the top of each HTML page has changed …

0
115
Member Avatar for shopnobhumi

I need to write a program where it will ask the user to write a sentence and count the upper case and lower case alphabet 'e'. I.E- number of lower case e is say 4 and number of upper case E is 3. Every tree is not an Elm,Emile. and …

Member Avatar for tux4life
0
181
Member Avatar for hou01087

I need to write a program that create some process by select number from menu. And then, if I select 4, ALL process created by this program will be terminate. So, I'm using processBuilder to create process. The problem is how can I destroy the process? Thank you. Here's is …

Member Avatar for quuba
0
5K

The End.