35,618 Topics

Member Avatar for
Member Avatar for lordx78

[code=java] /* * IconDisplayer.java is a 1.4 application that requires the following files: * images/rocketship.gif */ import java.awt.AlphaComposite; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Insets; import java.awt.Rectangle; import javax.swing.BorderFactory; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JComponent; import javax.swing.JFrame; /* * This component displays a single icon one or …

Member Avatar for Ezzaral
0
277
Member Avatar for augee

Please i need some help on the JMF. i'm trying to develop a simple media player but dont know how to start as i am new to java. I would appreciate your kind assistance.

Member Avatar for Ezzaral
0
39
Member Avatar for ravikiran032

can any one write me the program to dowmload imges using java. i have wriitten a program using URL class it is able download index.html pages but not able to download images. my source code: [code] import java.net.*; import java.io.*; public class url { public static void main(String[] args) { …

Member Avatar for ~s.o.s~
0
127
Member Avatar for sciwizeh

i have some code that will make sound, a sine wave, actually, but i want to be able to actually play more than one sound at once, how can i modify this code to make it work. i found this on the internet somewhere, and it was hard to find. …

Member Avatar for sciwizeh
0
121
Member Avatar for ravikiran032

i am begginer in java. i need to know that is it necessary to use applets or componetnts or frames to download image from the specified url in java programming. can't we use simple java program to download images.

Member Avatar for sciwizeh
0
148
Member Avatar for manofjava

Hello everyone, I have started studying Java as a hobby but finding it a bit hard to understand. I am in need of help from someone with knowledge of Java If i could post you some questions about simple java programming i am trying to do, could you try please …

Member Avatar for stultuske
0
135
Member Avatar for shrikant83

hi all, i have a problem in retrieving data from database into tree structure.Anyone solve this problem

Member Avatar for peter_budo
0
35
Member Avatar for zyaday

I'm using the java DnD class...I found this programm as an example that could help me understand it better..While dragging the image...the cursor changes its shape..but what i want is the image being dragged instead of te cursor...that is i want to replace the cursor with the image while i'm …

0
62
Member Avatar for Padda1

I would just like to know how you get a JComboBox to display all the fonts currently on the system without having to type it one by one. Urgent help would greatly appreciated.

Member Avatar for SylviaCrissy
0
55
Member Avatar for micheal_lobster

Hye..Anybody can help me? I need some help here.. Below is program 1 (main program)[CODE]import java.util.*; public class Staff { public double weeklyIncome, monthlyIncome; public String name, staffId; [B]/*how to code the input method to read the staff name, staff id and weekly salary from a keyboard?*/[/B] } //Program 1 …

Member Avatar for micheal_lobster
0
125
Member Avatar for divakar kumar

I am unable make a servlet by JSP what i have to do for. Why occur this type of problem

Member Avatar for peter_budo
0
53
Member Avatar for sangham

Hi friends, I am new to struts and jsp. My problem is after i click a particluar link,a page gets open where there are some pre populated values in the drop down list in that page. can anyone help me with how should i go for this? Thanks in Advance

0
59
Member Avatar for shobha1335

[B][/B] Hi, I have membership type in application as [B]Select Membership type:[/B] 1 year(radio button) 2 year(radio button) 4 year(radio button) [B]courier delivery:[/B] courier(radio button) currently tab sequence going from 1 year radiobutton to courier button but it has to go as from 1 year to 2 year to 4 …

0
58
Member Avatar for Dio1080

Im just trying to figure out why I have a array out of bounds that all can somebody help? [code=java] public class Life2 { public static void main(String[] args) throws Exception{ boolean dead; int winsX = 0; int num = 1; int count = 0; int countL; int countD; char …

Member Avatar for Alex Edwards
0
143
Member Avatar for ceyesuma

Is there someone that could answer questions concerning the HibernateTravelApp tutorial. I have written it a couple times per the tutorial and I am presently remodeling it to fit my own MySQL database. If there is a convenient way to transfer this data base along with the .zip of the …

Member Avatar for sciwizeh
0
258
Member Avatar for llemes4011

ok, so, we have to make a program that displays the date 100 days from today, the day you were born, and the date 10,000 days after your birth date. I've done all that, but i want to take it a step further, i want the user to be able …

Member Avatar for llemes4011
0
145
Member Avatar for sparis

I would like to ask your opinion[s] about how to approach the problem of generating Swing application UIs at runtime. And, to start: I am writing a Swing client application - not an applet and not a browser-based application. My IDEAL user experience would be to simply display DHTML in …

Member Avatar for sciwizeh
0
123
Member Avatar for tactfulsaint

how do i create image confirmation when registering new member in a web site

Member Avatar for tactfulsaint
0
81
Member Avatar for zorro3692

Hi, I have a web application employing a servlet that processes database requests from user input params and forwards the total count of the resultset to my display jsp using request.setAttribute(...). I retrieve the value of total count in my display jsp using request.getAttribut(...) and the value returns correctly. However, …

Member Avatar for zorro3692
0
130
Member Avatar for danale

Hello, I am new to JSP. I would like to learn how to create a JSF application that has a table within and the user can add items to the table , update existing items or remove items. I am working with an Oracle database. I will be happy to …

Member Avatar for ~s.o.s~
0
73
Member Avatar for esy928

hello! is there a method or class that lets you assign events to the keys of your keyboard (spacebar to fire gun)? and is there a way to measure how long the key was held down? thanks!!! any help is greatly appreciated.. ive tried google-ing it but i had no …

Member Avatar for esy928
0
154
Member Avatar for erniestl

I am getting an error when I try to install java on my computer that I just installed windows xp home. the harddrive was formated when I installed xp . It gives me this error "error applying transforms. Verify that the specified transform paths are valid" How do I correct …

Member Avatar for gerbil
0
94
Member Avatar for kohuke

Hi. Me again. I have searched google and found no good tutorials to help me. I'm using "Glassfish v2", "Mysql v5" and "NetBeans 6.5 beta". ***I have to make a seach jsp page that searches by different parameters stuff from database - meaning from one parameter to several. [LIST=1] [*]Which …

Member Avatar for peter_budo
0
173
Member Avatar for chathuradd

I'm developing an online web based system for my 3rd year project using JSP & Servlets. I have a database table which includes details of the applicants..and I want to display the information of each applicant page by page. That mean only a single person's details is displayed on the …

Member Avatar for stephen84s
0
103
Member Avatar for amrita.r

please help me.. m in final year MCA student.. i have to do a project on c-quiz application in Java[/U][/B] as front end and Oracle as back end.. if anyone can send me the source codes to <email snipped>

Member Avatar for stephen84s
0
100
Member Avatar for erinr

I'm working on a school project and I need some help. The below works, but when I click on the "Report" button I want my data to print to a new frame. I'm not sure how to do this. Do I use a JFrame? if(arg=="Report") { try { DataInputStream readinput …

Member Avatar for stephen84s
0
108
Member Avatar for mwg9119

I am trying to read in a group of numbers from a users input through a console after the sentinel value of 0 is entered then I need to output the largest integer put in and the next largest. I can get the largest but not the next largest. What …

Member Avatar for sciwizeh
0
72
Member Avatar for Engulu

Hello members, Am new in programming can someone help me and solve this for me i have tried and failed since last week. Thanks. Develop a simple application that, when run, Welcomes the users and tells them the name of the last person to run the application, this information should …

Member Avatar for jasimp
0
98
Member Avatar for mimiru83

Hi I am trying to get some images (10 frames per second) from a webcam so that later I can detect the moving objects.. My code is the following but I dont know how to change it so that I can get 10 frames per second.Any help? package video; import …

Member Avatar for mimiru83
0
69
Member Avatar for anonymous_cutie

we have this assignment to make a webpage where the user can add/insert/delete /save data to a database. the program is already finished and i had it up and running perfectly. like, all the functions work. but when i transfered it to another computer, it would not display any data …

Member Avatar for anonymous_cutie
0
116

The End.