36,051 Topics

Member Avatar for
Member Avatar for samarinder

I m getting problem in displaying charts and m not exactly able to find the problem plz plz help me wher i m wrong plzzzzzzzzzzzzzzzzzzzzzzz its very urgent............-------- --------------------- [code=java]package src; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import javax.servlet.http.HttpSession; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartRenderingInfo; import org.jfree.chart.ChartUtilities; import …

Member Avatar for samarinder
0
153
Member Avatar for vtsmokey88

My problem is I have a cache file that I'm pulling in from a seperate source. The cache contains a long string that would look something like this except much longer. myexample=1 status=0 timesHit=2500 Basically I need help figuring out how to break this up into myexample=1 status=0 timesHit=2500 The …

Member Avatar for stephen84s
0
92
Member Avatar for Software guy

Hi, I am jahan, i just started java applets and i was trying to draw a graph. The idea i am using is based on drawLine(xmin,ymin,xmax,ymax). I wanted to get a graph for sinx which is proving to be difficult. i used following syntax to implement my idea: import java.awt.*; …

Member Avatar for PoovenM
0
2K
Member Avatar for zantex

Hi there guys! Can someone help me with the part add tour,when I run it, its always print the same line 2 times and then when I enter the data for guide tour which should be store in the memory, but when using the display method it didn't appear like …

Member Avatar for zantex
1
173
Member Avatar for marcosjp

Hi there! I'm building a small application using Java and MySQL (college assignment). Everything is ok when all I'm doing are queries using SELECT. Now, when I try to INSERT anything in the table, I get this error message: java.sql.SQLException: Can not issue data manipulation statements with executeQuery(). 0 S1009 …

Member Avatar for masijade
0
127
Member Avatar for Mr.UNOwen

Hello, So I was thinking of creating a PCB designing program and was wondering if anyone was familiar with the Gerber and NC file format. Anyone have any advise about how to go from a design made in Java to a Gerber File? Is it done on a pixel by …

0
44
Member Avatar for webwareshop

Hello All, I have a chat friend online who said to me that if I don't know java or .Net then my web design will not make me money. I know how to program in php, asp html etc and willing to learn more as knowledge has no age limit. …

Member Avatar for sDJh
0
129
Member Avatar for madhavipoudala

[b]hello, i want a help for you all. about mysqlprocedures and functions i am enable to create procedures and functions in mysql so that i am enable to do jdbc colleable statements programs. please help me[/b]

Member Avatar for jwenting
0
72
Member Avatar for crisRobin

Hello I am new to JSP, use to work with ASP. In an application my company uses that wrote on JSP, it generate a page that include an email link like mailto:mymail@server.com?subject=the subject. The problem starts with encoding because the subject is in Hebrew. I made some tests. I saved …

Member Avatar for jwenting
0
61
Member Avatar for liaozhenkui

I know struts 2.0 has treenode tag. but now I using struts 1.2 and I don't want to change it. so if you can using other method to generate a java web tree,please give it to me , better include the code. thank you very much you can send your …

Member Avatar for jwenting
0
61
Member Avatar for push

am tring get value from msaccses database with wher condition but am not get. pls give me an idea to overcome this problum. and pls..help to get data from table based on the dropdownlist vaues wich is in html page. using jsp, jdbc.......pls..... [code=JSP]<%@ page import="java.sql.*" %> <%@page contentType="text/html" %> …

Member Avatar for jwenting
0
102
Member Avatar for Dolly-Sweety

Hello friends, I faced a problem in sending email through servlet. I have downloaded mail.jar and activation.jar. All is running perfect but error is coming. javax.mail.MessagingException: [EOF] [code] import java.io.*; import java.net.*; import java.util.*; import java.sql.*; import javax.mail.*; import javax.mail.internet.*; import javax.servlet.*; import javax.servlet.http.*; /** * * @author Administrator */ …

Member Avatar for jwenting
0
1K
Member Avatar for push

pls any one will guid, how to work jsp, servlets and ejb at Jboss4.0.2 pls..............if possible sugest be any url.............supoted for this..........pls. it's an argent.............pls

Member Avatar for jwenting
0
75
Member Avatar for WebMonkey76

OK...here is the deal.... I am messing around with this jGRASP program... I was able to create a program that will display the squares of the numbers from 1 to 10 by using the "FOR" structure. This is what I have done and here are the results, which is what …

Member Avatar for Software guy
0
106
Member Avatar for ramjeev

Hi friends, I have to fetch date, month & year from Calendar.For that I need a Calendar with User Interaction from which i can fetch. Is there any Calendar (builtin) in swing or i have to make it my own?.Pls let me know if u have any idea. with Thanks, …

Member Avatar for Ezzaral
0
65
Member Avatar for shobha1335

When I typed the command as 'java -version' in commandprompt its showing "java version 1.3.1_01" but I want to set it to latest version of java in the path C:\Program Files\Java\jdk1.5.0_06 Due to this problem Im not able to open Eclipse, its saying "version 1.3.1_01 is not suitable for this …

Member Avatar for peter_budo
0
79
Member Avatar for jeevansap

Hello , Dear Techies.. I am j2ee developer,And my latest assignment is to implement JBI (PETALs) in our project. I worked a lot ,,,read alot ..also struggeled a lot...but codnt reach anywhere.. So now i request you experts to just give me a guide or share there experience in implementing …

0
45
Member Avatar for kpkat

I need to write a program with seven vectors. The program needs to have methods to input the data into vectors, display a menu to print a report and sell an item, a method to sell an item, and a method to print the report. This is what I have …

Member Avatar for Phaelax
0
2K
Member Avatar for mysong

Hello, I am in a Java Course and my instructor said my first 2 loans the calculations are wrong. and that I need to have this in an ARRAY also. Any help would be appreciated. [code] import java.text.*; import java.io.IOException; class javamortgage //program class name { public static void main(String[] …

Member Avatar for Alex Edwards
0
211
Member Avatar for rickprospers

During the execution of a package listener, I am trying to call a web page with embedded query strings to execute a task in .cfm... The code below is a snippet from the original code to simplify the discover of the error. I have been struggling to get this simple …

Member Avatar for rickprospers
0
197
Member Avatar for beelzibub

package chessbuard; import java.awt.*; import java.awt.event.*; import javax.swing.*; //import javax.swing.event.*; import javax.swing.border.Border; class ChessBoard extends JFrame implements MouseListener, MouseMotionListener { GridLayout Board = new GridLayout(8, 8); int drag1, drag2; int xMove, yMove, labelw, labelh; JLabel label; String[] manrow = {"Pawn0", "Pawn1", "Pawn2", "Pawn3", "Pawn4", "Pawn5", "Pawn6", "Pawn7"}; String[] manrowx = …

Member Avatar for Alex Edwards
0
149
Member Avatar for Csait

Hello, So my applet: image (in a Canvas object), drop down list, radio box group, and a submit button. Have 2 problems that I need to figure out: The applet is working the way it should until submit button processing, it gets parameters from web page that it's embedded in …

0
55
Member Avatar for tecktalk

How can I open a pop window of particular size even when the javascript is disabled on the browser on my ASP page ? Solution: Here's a solution that degrades gracefully. It will open a clean popup if javascript is enabled, and a normal new browser window if javascript is …

0
100
Member Avatar for funtoosh

I'm trying to make a PhotoAlbum using JApplets.I write a Java code for it and then compile to make a .class file and then made a html file in the same directory which have .class file.But while running it on Web -Browser it doesn't load the applet and shows that …

Member Avatar for Ezzaral
0
178
Member Avatar for keshari

Hi All My current code is executing system commands through java programme,like “dir”,”date” itc.Whenever I run the code the desired output comes.But when I am running the code continuselly then lots of command prompt open regularlly. Is there any way to stop the code from execution untill unless the command …

Member Avatar for PoovenM
0
110
Member Avatar for mshah2

I need to open a huge file in GBs to be precise in java. Can this be done. I need to actually break the file in 4kb chunks and compress each chunk separately . Can i do this in java. Will it create any memory out of bound error for …

Member Avatar for mshah2
0
77
Member Avatar for C41R0

[CODE] . . . . button1.setIcon(pic1); button1.setToolTipText("Open File"); toolBar.add(button1); button2.setIcon(pic2); button2.setToolTipText("Save File"); toolBar.add(button2); button3.setIcon(pic3); button3.setToolTipText("Help File"); toolBar.add(button3); gbc1 = new GridBagConstraints(); // c.insets = new Insets(2, 2, 2, 2);; gbc1.weighty = 1.0; gbc1.weightx = 1.0; gbc1.gridx = 0; gbc1.gridy = 0; // gbc.weightx = 30.0; // gbc.weighty = 30.0; // …

Member Avatar for C41R0
0
93
Member Avatar for Bouras

Hey... I present myself.. Youssef, 17 years old and i'm currently on my second year of the IB Program ... Computer IB HL i took. As some of you might know our IA = Internal Assessement is a Java Database and now mine is due wednesday... [PART I] and i …

Member Avatar for sillyboy
0
250
Member Avatar for TheWhite

1.) Update Checking. 2.) Score/Record keeping. 3.) Submitting score online. Update Checking: Currently, my program connects to a URL and checks if a new version is available. If one is, it simply opens up a dialog saying a new version is out and to go download it... Is there a …

Member Avatar for TheWhite
0
197
Member Avatar for ovesh

Hello, I am a java developer (with a few years experience). I have just been assigned my first C# project. So far I have only written UI in java (Swing), coding by hand. I have found this to be easy and manageable. When I opened Visual Studio (not for the …

Member Avatar for Ramy Mahrous
0
112
Member Avatar for Alex Edwards

I looked up the method class and thought that it might be useful, but unfortunately Method objects must be public to be invoked. I'm just curious of when I'd actually really need to use the Method class. Maybe to create an array that used a type of algorithm to fire …

Member Avatar for dkerberwra
0
86
Member Avatar for kireol

Hi. I was a developer back in the j2ee 1.2 days. Took a few years off. 5 to be exact. Looking to relearn and get up to date. Looking for a good j2ee book and or tutorial or web site to start getting back up to speed. thanks

Member Avatar for kireol
0
110
Member Avatar for Ragini.gudiya

Hi i m new in mysql plz any one help me how can i solve a problem. i m using this code for connection file [code=Java]package connect; import java.sql.*; public class Connect { private static Connection con=null; public static Connection getConnection() { try { Class.forName("org.gjt.mm.mysql.Driver").newInstance(); con =DriverManager.getConnection("jdbc:mysql://localhost:3306/rsdatabase","root","root"); System.out.println("Connection Established"); return …

0
77
Member Avatar for itebooks

You can download most popular and new IT ebooks (team lib ebook,java ebook,.net ebook,C# ebook,linux ebook,jsp,c++,vb.net,etc.) FTP serverIp: [url="http://www.itebooks.net"]www.itebooks.net[/url] userName:test_itebooks passwd:bestitebooks port:2121 Download speed is 5k/s,Max user is 40. To obtain a more fast download account,please visit Web site [url="http://www.itebooks.net"]www.itebooks.net[/url] for detail. Just one month for free,Enjoy! ITeBooks Web site …

Member Avatar for curlyjoe
1
920
Member Avatar for funtoosh

I'm implementing a Timer for different cities using GregorianCalendar class of java.I got a Null Pointer Exception in the following code in ---- target.timeElapsed(this) line.After a lot of practices,I don't got it out.Plzz help me to sort it out.. Here's my code---------- import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; …

Member Avatar for funtoosh
0
226
Member Avatar for bjeff71

I am receiving a successful build msg, but I cannot get my program to run correctly. Hereis the msg. followed by the program:[CODE]init: deps-jar: compile: run: java.lang.NoClassDefFoundError: Inventory5_5 Caused by: java.lang.ClassNotFoundException: Inventory5_5 at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Exception in thread …

Member Avatar for Manishbpl
0
163
Member Avatar for vasu_atri

hi friends...i have to generate a front end using applets,swing and AWT...it is report generation front end...on left side i have some objects to drag on to the center..the center part contains the selected type of report...when i selects a type of report,on left side i should get the options …

0
43
Member Avatar for sr0867

I am replacing a single quote by double quote in a String I am getting an error Method replaceAll(java.lang.String, java.lang.String) not found in class java.lang.String. my jdk version is 1.2.2 Can anyone help me so that i can use the same function without changing my java version

Member Avatar for sr0867
0
114
Member Avatar for ze0001ng

Hello, skillers, I have an applet that needs to use image files to create Image. However, when loaded by web-browser, the applet can not find the image files but it works perfectly fine by using appletviewer. Here is the code for defining the applet: [CODE] <applet archive="applet.jar" width="600" height="630" code="board.Player0.class"> …

0
49
Member Avatar for NycNessyness

Hello guys. I wanted to know how I can go about writing what is selected in a Jcombobox to a datafile. This is an example of what I'm trying to do but when I compile i get an error. How can i correct the line "output.writeUTF(number.getSelectedIndex());" [code=java] String[] numbers = …

Member Avatar for masijade
0
105
Member Avatar for veledrom

Hi, I am trying to install Oracle 9i but when it comes to Java Runtime Environment, it asks me path for it. I have JRE installed in my Computer. What else do i need to proceed this installation? Thanks

Member Avatar for veledrom
0
439
Member Avatar for FaMu

hi, I have this method [code=java] public void record() { Scanner input = new Scanner( System.in ); int sid; for ( int counter = 0; counter < length; counter++ ) { System.out.println("Student " + (counter+1) + " Record"); System.out.println("****************"); System.out.print("Enter SID: "); a[ counter ] = input.nextInt(); sid=a[counter]; if (isUnique(sid)) …

Member Avatar for FaMu
0
148
Member Avatar for Bouras

sorry figured out i put my 1st post on wrong section ;s:S... put on java script.. heres a copy/paste.. Hey... I present myself.. Youssef, 17 years old and i'm currently on my second year of the IB Program ... Computer IB HL i took. As some of you might know …

Member Avatar for Ezzaral
0
119
Member Avatar for luxmi_gee

hi can any one help me to create customtag for database connection. here i paste the which i tried, db.java (tag handler) --------- [code=JAVA] import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import javax.servlet.jsp.tagext.DynamicAttributes; import javax.servlet.jsp.tagext.*; import javax.servlet.jsp.JspWriter; import javax.servlet.jsp.JspException; import javax.servlet.jsp.JspContext; import javax.servlet.jsp.PageContext; …

Member Avatar for jwenting
0
130
Member Avatar for nishanthhampali

Hi, I am very new to JSP......... i need one help.......... i have a table with many rows......... for each row i can set the time by calling the calendar java script............ I want to access the time that whatever has been set for some manipulation........ please help me out........ …

Member Avatar for jwenting
0
81
Member Avatar for myusernotyours

Hi ya all. Am creating an application that should display a Floating dock window like the windows taskbar. It should never be obscured by other windows. Now, The JDIC project has developed an API for this that is in incubation but problem is it only works for linux and my …

0
78
Member Avatar for himanjim

Hi, I'm a beginner in JSP...I've installed Sun Java System Application Server 9.1 ... I wanna run jsp code just to display "[B]Hello World[/B]" but can't find out where to copy the [B]helloworld.jsp[/B] code (I mean in which folder of Sun directory) to access it using [B][url]http://localhost:4848/helloworld.jsp[/url][/B]........Please help me out......

Member Avatar for gafoorsani
0
108
Member Avatar for Will Gresham

I have upgraded to Firefox 2.0.0.14 on openSuse 10.3 and then downloaded Java 6u6 and installed that, created a symbolic link to java plugin for firefox but whenever I try to load a Java applet it will not show anything, not even the jigsaw piece saying Java is not installed. …

0
205
Member Avatar for Vukinagauna

Write a GUI program to compute the amount of a certificate of deposit on maturity. The sample data follows: Amount dep: $6000.00 Years: 15 Interest: 7.75

Member Avatar for Chaster
0
119
Member Avatar for java3d

Hello! I am new here, I am posting as I can not find any help on sun.com java forums for my problem! Here what I posted: Hello all! I am intending to do a simple thing: a quick bird like made with 3 boxes: 2 for the wings, one for …

Member Avatar for mastergreg
0
151

The End.