36,051 Topics

Member Avatar for
Member Avatar for rajeesh_rsn

hai I am a PHP programmer and I likes to study JSP from the base level. Please advice me a right book to start. Thanks in advance Rajeesh

Member Avatar for peter_budo
0
129
Member Avatar for opethcire316

I have a (for me) a big perplexing problem. I am new to Java and am in a introductory class. We were suppose to create/"fix" a method for Formatting ISBN-10's. Our Professor gave us all the code and the classes but we need to implement another "design teams" code for …

Member Avatar for jbennet
0
114
Member Avatar for suriname0

Hello, I've been working on a fun project of my own. I didn't really start out with a plan in mind, but now it has turned into an attempt to make some Advance Wars type TBS game. The problem I ran into is trying to display the base "terrain" image …

0
144
Member Avatar for peter_budo

Here is simple example of static image to be displayed as logo on the start-up/splash screen. This can be improved by creating animation out of series of images or use of flash file through [URL="http://developer.sonyericsson.com/site/global/newsandevents/latestnews/newsapr08/p_project_capuchin_announcement.jsp"]Project Capuchin[/URL] library. As for location of image file this was placed in new folder called …

6
701
Member Avatar for eager to learn

I am sorry for interfering like this in between, but I am new to this community and I need some help, if anyone can spent their precious time in doing so. Hi.I am working on a Java media player that uses [B][U]Java Media Framework(JMF)[/U][/B].I have designed the code for a …

Member Avatar for masijade
1
134
Member Avatar for shiri

hi ppl. I've done 8 frames on JAVA netbeans 6.7 with the default color but now i'm required to put a background picture(image), i have no idea how..

Member Avatar for majestic0110
0
129
Member Avatar for hybridoutlaw

I have successfully completed a project that I have been working on. However, I want to clean the image up slightly. This code consists of 2 different calculators and I would like to divide them with some sort of divider. Can anyone assist? Any help is greatly appreciated. [CODE]import java.awt.*; …

Member Avatar for masijade
1
120
Member Avatar for ranjanj2me

I work on netbeans IDE i want to display applet at jsp page. My code is running when i compile and run it through console but when i do the same through net beans ide its not running so if possible then please send me a sample project made on …

Member Avatar for peter_budo
-1
78
Member Avatar for Kishorey

HI Can anyone help me for creating our own gadgets as present in google gadgets . Any help would be appreciated.

0
56
Member Avatar for keicola

I'm trying to read a file which contains: Dante Beatrice 3 5 and put them into an array. Then I will assign the values of each member of the array to static variables. when i run the main class of my project, it throws a NullPointerException starting from the line …

Member Avatar for keicola
0
241
Member Avatar for joannies

can someone help me???? give me coding for display 1 12 123 1234 1,3,5,7...n 123 456 789 help me... and give me coding for while loop generate 0,1,1,2,3,5,8 sent coding to my email [I]<snipped>[/I] thank you..for da help...

Member Avatar for freelancelote
0
149
Member Avatar for pansen24

I want to write a program for DNS query.but i want to specify the DNS server from which i want to get response.Is it possible using java? please help

0
45
Member Avatar for emilio

is there a way to convert a java.util.Date to format dd/mm/yyyy HH:mm:ss ?

Member Avatar for emilio
0
91
Member Avatar for coud_ren_26

I want first to input the first number then the second number. After that input sub or add. If sub, 1st num-2nd num. If add, 1st num+second num. Then print the sum/difference. I started a code that will input 2 numbers then add. Please revise this one i can't revise …

Member Avatar for coud_ren_26
-1
111
Member Avatar for britto

hi how to encrypt a flv video using java and i must decrypt it when i play it in the flash player... can anyone give me any samples bcoz im a newbie...... Thanks in advance

0
52
Member Avatar for Arsham3

Is there good open source solution allowing to use shared memory between C/C++ and Java

Member Avatar for ~s.o.s~
0
116
Member Avatar for nope3d

...Can anybody knows how can I put a table on what type of Package type (overnight and two day package) in my program.. Since I have been troubled on how I would like to display my added data to an array and if I have choose a certain package type …

Member Avatar for javaAddict
0
133
Member Avatar for jrosh

I added a bachground color to a jpanel using [B]panel.setBackGround(Color.GRAY);[/B] I want to add some color like "[B]light blue[/B]." which do not have in the color list. how can I do. (2) how to add backgroud picture to jpanel???? (tried using [B]setBackGround[/B] but failed!!!) thankx in advance....

Member Avatar for moggz
0
478
Member Avatar for Hockeyfreak889

I am suppose to be making a program which inputs an employees name(first and last) and their quarterly sales. I am then suppose to output a table of all the employees and the quarterly sales, as well as their total sales. I am suppose to create an array of objects …

Member Avatar for javaAddict
0
87
Member Avatar for keekee

I am using textpad to create my java programs because I had a problem with downloading java and setting the path in order to use it with notepad. Can someone tell me what this error mean? I don't know if it has something to do with the fact that I …

Member Avatar for javaAddict
0
115
Member Avatar for ndoe

hello all!how to showing data from database in text field by button,i just can showing 1 data!like next and previous showing data!

Member Avatar for masijade
0
54
Member Avatar for jbennet

Hey, im looking for a good C++ IDE on Linux. Wanted features: Integrated debugger support Code formatting Syntax highlighting etc.. I hate code folding and that auto-bracket thing Preferably one thats fast. I tried Eclipse CDT but it crashed all the time and i didn't like it. I get on …

Member Avatar for jbennet
0
124
Member Avatar for WesFox13

hello there, I have a bit of trouble figuring out how to finish a code for an assignment. I'm supposed to write a class that can generate a sequence of psudorandom integers using the linear congruence method. The trick of it is that the number generated will become the new …

Member Avatar for WesFox13
0
186
Member Avatar for Ajantis

Hey there good folks! :) I am working on a thread task called, Lab Alarm, and I am nearly done with it. We're suppoosed to work with the "producer-consumer" problem and It's just teacher code that one is supposed to modify and add some own to it. Now, I am …

Member Avatar for quuba
0
175
Member Avatar for Designer_101

Hi I need an onHover effect for a blog. I would like it to look similar in design to daniwebs. (where you roll your mouse over the title and the box appears with the first few lines of text from the topic) Could anyone suggest some code for this ? …

Member Avatar for pmcd9
-1
374
Member Avatar for KimJack

Hello, I am working on a plain old simple text version of a memory game. The player will be able to match letters of the alphabet by clicking on various numbers. For example This is what the player will see: 123 456 789 but underneath that will be something like: …

Member Avatar for KimJack
0
177
Member Avatar for leverin4

I have a noobish question. If you have a nested try-catch block and an exception is thrown in the inner catch block, will the outer catch block catch it? Example: [code=java] try { // All this code is random. It doesn't int x = 5; // have anything to do …

Member Avatar for leverin4
0
67
Member Avatar for Aild

I have two threads that need to use one variable. They run forever and constantly needs the updated value of the variable. Now I am aware of the race condition and am using synchronized. However, the two threads are of different classes and I don't think synchronized is quite effective. …

Member Avatar for ~s.o.s~
0
280
Member Avatar for TaP1227

Ok, so basically I am supposed to "Write a program that uses the Monte Carlo sampling method to estimate the average number of bottles of Boost someone would have to drink to win a prize." I know that I am supposed to First, work on the part that conducts trials …

Member Avatar for TaP1227
0
71
Member Avatar for lloydsbackyard

what is the code in inserting picture in a java window. can you give me a sample java code showing a window and a picture with it...i want to create a photo gallery using java.swing

Member Avatar for Ezzaral
0
207
Member Avatar for 633shane

Hi All, This is my first post on here so please be gentle with me! We have a website that provides new car prices instantly to customers. One problem we are having is that Google (we think) does not like our 70000+ duplicate page titles. Those pages come from our …

0
58
Member Avatar for ramkumar.a

i am a final yr. B.E student & want to do projects on [B][COLOR="Red"]java[/COLOR][/B] Programming.It will be of great help if I can be supplied with some project titles for freshers with industry relevence. Thanking you, ram

0
59
Member Avatar for vamsi310

I read an algorithm on collaborative clustering and the author is merging and splitting for the same side of the threshold. Is it right to do so?

Member Avatar for quuba
0
40
Member Avatar for slatk3y

Hey, I have a question about Java Applets. I wrote a small applet(just one file) and could run it in my web browser, by making this html file: [code=html] <APPLET CODE="MyApplet.class" WIDTH=400 HEIGHT=400> </APPLET> [/code] And it worked just fine. I am going to make a bigger project and I …

Member Avatar for gunjannigam
0
102
Member Avatar for jralexander137

I was wondering if anyone would care to share any links to information on Linked Lists and Doubly linked lists implementation. Thanks!

Member Avatar for vamsi310
0
99
Member Avatar for jrosh

I want to open a folder when i click a button .. What is the command for that?? plz help... (thing is i jst don't wanna complex thing like file chooser ..jst want to open a paticular folder given by a path.)

Member Avatar for masijade
0
103
Member Avatar for gunjannigam

I am using Java Comm API to send some data on Serial Port and Again Checking it back. The Problem is that I am not able to get the correct data back always. Sometime I see a garbage value there. Here is my Code Setup SerialPort For Sending Data [CODE] …

0
54
Member Avatar for jralexander137

I'm trying to take a string of a number i.e. 123456 of any size and then convert each int in the string to an int to be added to a linked list. I.E. read 1 convert to int then add to linked list, read 2 convert to int then add …

Member Avatar for BestJewSinceJC
0
121
Member Avatar for jralexander137

I'm adding and subtracting two numbers stored in doubly linked lists. I'm not sure how to go about "lining up the decimal points" for numbers. I was thinking of traversing the lists from the head and tail keeping track of the number of iterations of the loop and then adding …

0
62
Member Avatar for keekee

Could someone check my program, I cannot figure out what I am doing wrong. [B]I did this part and the program ran just fine[/B] - Part 1; Create a product class that holds the item number, the name of the product, the number of units in stock, and the price …

Member Avatar for keekee
0
289
Member Avatar for .11

Hey Guys, I am working on a BlackJack GUI, I have just about everything set up, and now I am working on generating the cards. I was doing some quick snippet test, to see if I can get it working. But no luck, I wanted to know if I can …

Member Avatar for .11
0
130
Member Avatar for gferrie

I have two interfaces, MyapiA and MyapiB with 2 methods each. Two classes - SortA does all the sorting routines and SortB defines the arrays and generates random numbers. In the main class, Sort I have the following code which produces the expected results using a default argument of 6 …

Member Avatar for Grn Xtrm
0
838
Member Avatar for gibson.nathan

i have an integer like this:1 4 3 2 1 1 3 8 1 1 1 1 1 2 1 6 2 3 1 12 what can i do to add each individual number together like this: 4+3+2+1+1+1+3+8 etc?

Member Avatar for VernonDozier
0
109
Member Avatar for t4tulsi

Hi everyone! I'm looking for mobile application development..! I want to build an audio player for the mobile phone (sony ericsson/nokia) But, I don't know where to start and what to do?! What softwares do I need for it etc. So far, I've downloaded Eclipse.. And trying to get familiar …

Member Avatar for peter_budo
0
31
Member Avatar for rizza_f

According to thread MVC above, I create web.xml like this [CODE] <servlet> <servlet-name>addServlet</servlet-name> <servlet-class>servlet.AddServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> </servlet> <servlet> <servlet-name>loginServlet</servlet-name> <servlet-class>servlet.loginServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for feoperro

Hi, I am trying to develop a GUI application that has a text area for a 10 digit number. I would prefer to right click on the field and select a max length and "number type" instead of coding an 'if function on keypress' and so on. Is this possible? …

Member Avatar for feoperro
0
515
Member Avatar for Ashwin Vasnai
Member Avatar for shashikant.v

public class OpenMenuListener implements ActionListener { public void actionPerformed(ActionEvent ev) { if(ev.getSource() == b) { f2 = new JFrame("shashikant verma"); p2 = new JPanel(); f2.getContentPane().add(p2); String str = "<html>"+"<h>"+"<P ALIGN = \"CENTER\">"+"<i>"+"<font size = \"10\">"+"<font color= \"#800080\">"+"2. Definition of Function<br>"+"<br>"+"</i>"+"</h>"+"<P ALIGN = \"LEFT\">"+"<font size = \"5\">"+"2.1 "+"<u>"+"Mathematical Definition <br>"+"</u>"+"<P ALIGN=\"LEFT\">"+ …

Member Avatar for majestic0110
0
113
Member Avatar for NRaf

Technically this question isn't related to any specific language. Basically, what I need to do is extract information from a website relating to the current logged user. The website has your standard login form - it seems to use JSP as the language. What I need to do is find …

Member Avatar for ejosiah
0
78
Member Avatar for feoperro

Hi, Below I have code that contains ajax on a JSP. The JSP runs the Servlet which gets a parameter from the JSP and returns the exact same input field's value. For some reason, it is returning a null though. Can someone please assist? Servlet: [CODE] package Web; import java.io.IOException; …

Member Avatar for feoperro
0
138

The End.