Posts
 
Reputation
Joined
Last Seen
Ranked #900
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
84% Quality Score
Upvotes Received
9
Posts with Upvotes
9
Upvoting Members
7
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
5 Commented Posts
~42.3K People Reached
About Me

I am always ready to help

Interests
Formula 1
PC Specs
Ubuntu an Windows XP Professional, 2.4GHz Core 2 Duo, 4GB RAM
Favorite Tags
Member Avatar for M.S.A 

Hi all .. I've been doing my coursework .. I have done 30% of it .. but I've met problem since the day before yesterday .. I've tried to solve it but I couldn't .. I've been requested to write programme that promote the user to enter a file name …

Member Avatar for Gergely_1
0
2K
Member Avatar for hsaraiya

I am trying to Draw a graph which can read data values from Text files. In which i want to consider 1st column as X-axis and 2nd as Y-axis.

Member Avatar for JamesCherrill
0
2K
Member Avatar for ardi_lucy

help me plz i need to sort ip address, am try to sort in java.util.Arrays.sort() but it not correct for eg [CODE] String st[]={"10.4.23.16","10.4.23.9"}; java.util.Arrays.sort(st); for(int i=0;i<st.length;i++){ System.out.println(st[i]); } [/CODE] the out put is 10.4.23.16 10.4.23.9 plz give idea

Member Avatar for anita_2
0
998
Member Avatar for jrosh

Please any one can guide me how to write a [B] mysql database search[/B][I] in java....[/I] I want to search mysql database for some data in keywords. please help... thnakx

Member Avatar for Sardar_1
0
2K
Member Avatar for gunjannigam

Can anyone suggest a open source llibrary for plotting 3D graphs . More precisely dynamic graphs. I was using jfreechart but that is only for 2D plots. I need a library so that I can plot 3D graphs.............

Member Avatar for AppB
0
141
Member Avatar for gunjannigam

I am attaching my complete code, which I was currently developing. I am not able to get why doesn't my KeyListener work. None of the KeyListener events are fires on pressing the keyboard. Please have a look and tell me the flaws in my code [ATTACH]22414[/ATTACH]

Member Avatar for gunjannigam
0
7K
Member Avatar for gunjannigam

In my application, I have to draw 25 images of 700*500 pixels. I am trying to use ImageIO.read() method, which is called by creating another Thread. Its taking too much time to read images. I thought since i am calling the image read functions by creating another thread my another …

Member Avatar for mKorbel
0
791
Member Avatar for gunjannigam

I want to have two textfields which will have the following validations 1) Both should be Integers 2) The value in one textfield should be a integer multiple of other I have used two JFormattedTextFields to this. This is what i have done till now [CODE] NumberFormat updateFormat,sampleFormat; updateFormat = …

Member Avatar for mKorbel
0
259
Member Avatar for gunjannigam

I have written a code which uses RXTX Serial API for communication. Now I want to distribute a jar file for my program. The problem is that since I have used RXTX Serial API jar & dll files for this needs to be copied in java home. I wrote a …

Member Avatar for NormR1
0
244
Member Avatar for gunjannigam

I am using JPQL to write queries. I have an SQL as [CODE] SELECT * FROM `powergenerationdatapoint` AS pgdp INNER JOIN ( SELECT MAX( TIMESTAMP ) TIME FROM powergenerationdatapoint GROUP BY solarpanel_id )maxtime ON pgdp.timestamp = maxtime.time WHERE solarpanel_id IN ( SELECT id FROM solarpanel WHERE solar_plant_id =1 ) GROUP …

Member Avatar for mKorbel
0
93
Member Avatar for Jessurider

hey can anyone help me........... the below code is for getting a jpeg image called rabbit which resides within the bin folder...... [CODE]Image img= getImage("rabit.jpg");[/CODE] instead of placing the image in the bin folder.........can we call a image by giving a path like [B]("D\:Images\rabbit.jpg")[/B] is there any method with which …

Member Avatar for sourabh17
0
417
Member Avatar for gunjannigam

I need yo draw a shape as attached in the image using Java graphics. I am struggling with the curve part. The curve part is a arc of an circle whose radius and center is known. But I have to paint the region out side of that arc. How will …

Member Avatar for gunjannigam
0
329
Member Avatar for gunjannigam

I have to draw a Circular gauge using Java Graphics. Somewhat similar to the attached image, the circular gauge without the black border as in image. I tried to use two methodologies but none of them is working perfectly Firstly, I tried to draw everything using Java Graphics and then …

Member Avatar for gunjannigam
0
482
Member Avatar for nickcolb

Hi, I need serious help with this code. So far everything compiles correctly but it does not output the correct change, and I've been trying for hours to figure out how to remedy the situation. All help is appreciated. This is what is being inputed: 4 1.00 .01 100.00 .01 …

Member Avatar for gunjannigam
0
93
Member Avatar for gunjannigam

I have a php page, which has different forms. One of my forms contains a table of data. I want only this form (not the complete page) to be updated in a fixed period of time. How could I do this?

Member Avatar for diafol
0
68
Member Avatar for gunjannigam

Hi, I am a novice programmer at PHP. I want to redirect my webpage to another webpage. The problem is that First I want to output a file as an attachment and then redirect the web page I have used this code to output the attachment file [CODE] header("Content-Disposition: attachment; …

Member Avatar for gunjannigam
0
147
Member Avatar for suger

Hi guys I have 2 problems here: 1) Below code does not draw a black Polygon on the frame, only shows an empty Frame named "Poppy" 2) Once the frame shows, I can't close it by clicking "x" at the right top corner. Does anyone know why? Thanks heaps code: …

Member Avatar for suger
0
85
Member Avatar for gunjannigam

I have saved generated an image using a byte[] by using [CODE]Toolkit.getDefaultToolkit().createImage(image);[/CODE] where image is a byte[]. The image generated by this is of java.awt.Image instance. Now I want to save this image into my local hard disk as JPEG (the image was decoded as JPEG). How would I do …

Member Avatar for gunjannigam
0
146
Member Avatar for gunjannigam

I have a database hosted at a remote location. I want to access that database. But I keep getting the error [CODE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'username'@'%' to database 'db' [/CODE] This is the code that i have written [CODE] Connection con = null; Class.forName("com.mysql.jdbc.Driver"); String username = "username"; …

Member Avatar for gunjannigam
0
2K
Member Avatar for gunjannigam

When we use File.getAbsolutePath() we get the path of file as C:\BlahBlah\Blah.txt. But I want the path name as C:/BlahBlah/Blah.txt i.e instead of backward slash "\" i want a forward slash "/" in the path. How to get this. I tried to create a parsefile method. [CODE] public String parsePath(String …

Member Avatar for JamesCherrill
0
182
Member Avatar for gunjannigam

I am writing some data to a file using FileWriter and BufferedWriter. I want that while writing in the file if somebody else wants to open the file in MS Excel, it should open only in read only mode Here is a snippet of my FileWriter and BufferedWriter [CODE] while(true) …

Member Avatar for masijade
0
152
Member Avatar for gunjannigam

Is it possible to access a TCP server running outside our LAN through internet? I thought we could use the router IP Addess(which I got from whatismyip.com) in the class Socket Constructor[CODE] Socket(InetAddress address, int port) [/CODE]. But client wasn't able to find the server. Has anybody successfully achieved this …

Member Avatar for musthafa.aj
0
645
Member Avatar for gunjannigam

I want to Run a ftp server on my machine. My FTP Client will send the data to FTP Server (not a file but byte data). The FTP Server should listen to the data, store it in a file on the local hard disk. How can I wrote a code …

Member Avatar for NormR1
0
56
Member Avatar for gunjannigam

I have old Toshiba Satellite A-80 Laptop with XP Home. I want to format my system and install Windows XP again. The problem is that my CD/DVD ROM is not functioning. I dont have an option to boot from USB in my BIOS. I dont want to purchase USB CD …

Member Avatar for finito
0
106
Member Avatar for gunjannigam

I have a class which extends JPanel and implements ActionListener. I am having 2 menuItem. When I implemented the abstract method actionPerformed(ActionEvent e) and used repaint if the event source are the menuItem paint method is not called. What can be the possible reasons? This is what I am doing …

Member Avatar for JamesCherrill
0
107
Member Avatar for gunjannigam

I have a 2D image of a map. What I want to do is 1) Paint this image in a 3D Canvas. And then rotate it with the help of mouse 2) Secondly do some path planning, i.e If I select 2-3 points in space on top of that map …

Member Avatar for cmliu2004
0
81
Member Avatar for jemz

hello can you help me i want to make my program to executable file is there a software for this to create a jar file?...hoping for your positive responds...

Member Avatar for Ezzaral
0
73
Member Avatar for gunjannigam

I want to Edit the Title of Save Dialog Box in JFileChooser from Save to Something Else. How is it possible?

Member Avatar for Freaky_Chris
0
81
Member Avatar for gunjannigam

Hi, I need a charting API which can plot static Line Graph for 300 million points. API should support zooming and panning of axes comfortably after plotting 300 million points. I tried with JFreechart but the result is not good for even 100 million points. Does anybody have any Idea …

Member Avatar for gunjannigam
0
104
Member Avatar for omar isaid

the following code I want to press done buttone to close JFrame without exit the application ---------------------------------------------------------------------------------- [CODE] package examples.SecretaryAgent; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Display extends JFrame { private JCheckBox _first_Interval; private JCheckBox _second_Interval; private JButton _done_Button; public Display() { setLayout(new FlowLayout()); _first_Interval=new JCheckBox("First Interval"); _second_Interval=new …

Member Avatar for omar isaid
0
867