32,199 Topics

Member Avatar for
Member Avatar for dipankar.

hi, i tried to connect to the database using simply applet, but it showed some error message, i m bit confused whether or not is that possible..

Member Avatar for jwenting
0
93
Member Avatar for Futbol10

Please help i have added buttons but they aren't how i want them.....how do i change the letters to squares and how i want them? and at the very bottom i am confused with what to do next thanks for anyhelp import java.awt.*; import java.awt.event.*; import java.applet.*; import javax.swing.JOptionPane; public …

Member Avatar for Futbol10
0
107
Member Avatar for beelzibub

[ICODE]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 PoovenM
0
162
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
89
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
169
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
123
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
42
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
124
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
70
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
58
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
104
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
62
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
76
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
42
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
208
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
147
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
50
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
98
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
176
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
108
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
73
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
91
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
245
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
192
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
83
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
107
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
73
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
907

The End.