35,618 Topics

Member Avatar for
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
99
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
109
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
248
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
196
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
85
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
109
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
76
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
919
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
225
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
161
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
112
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
47
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
104
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
436
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
147
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
118
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
77
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
198
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
Member Avatar for bjeff71

I am having problems with my program. I am altering it to show the GUI which should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, the value of the inventory …

Member Avatar for jwenting
0
111
Member Avatar for twilightwolf90

I am creating a properties JFrame for use in my GUI, and I wanted to save all of the data inputted into the frame into a file called config.properties. The Poperties class already has several convienent methods to save, load, and get properties, but it stores all the data in …

Member Avatar for twilightwolf90
0
184
Member Avatar for ceyesuma

For some reason I deleted a sample database that was in the netbeans tutorial. Of course now I need it and I don't where to get it( I tried the google,and will try again) but does anyone know how to obtain the script? Thanks -Steve

Member Avatar for ceyesuma
0
96

The End.