35,618 Topics

Member Avatar for
Member Avatar for rgkrish183

this front page: Form.jsp <html> <head> <title> Data Inserting Form </title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <body> <h1>ENTER THE EMPLOYEE DETAILS</h1> <form action="./Insert.jsp" method="post"> <table cellspacing="5" cellpadding="5" border="5"> <tr> <td align="right">Employee Name:</td> <td><input type="text" name="EmployeeName"></td> </tr> <tr> <td align="right">Employee_id:</td> <td><input type="text" name="Employee_id"></td> </tr> <tr> <td align="right">Nationality:</td> <td><input type="text" name="Nationality"></td> </tr> …

Member Avatar for peter_budo
0
406
Member Avatar for pspwxp fan

I am using NetNeans I have a JPanel that is supposed to show some already input data along with a progress bar while the remainder of the program carries out some lengthy processing (about 1 minute long). Once the processing is done, this same JPanel is supposed to be updated …

Member Avatar for JamesCherrill
0
574
Member Avatar for dlmagers

I think I have a cluster of a mess here and was wondering if someone could help me in the right direction. I am trying to write a small program that will calculate the gain and/or loss of the sale of stock. The program will ask the user for the …

Member Avatar for stultuske
0
439
Member Avatar for Stefce

Hello, im trying to get the answers from the secound array but it takes just the last question and answer hers is the code: search.setOnClickListener(new View.OnClickListener() { String[] questions = { "http", "arp", "asd" }; String[] answers = { "HyperText Transfer Protocol", "Advanced Research Project", "asdasdasdasdasdasdasdasd." }; @Override public void …

Member Avatar for stultuske
0
143
Member Avatar for pwolf

I have just started trying to learn Java, and i am currently following a tutorial series on youtube([Java tutorial by Derek Banas](http://www.youtube.com/watch?v=rGlJiUO-dZA)) it seems like a good series so far! but i have been going along with him and typing it out, then afterwards replacing my copied code with his …

Member Avatar for Ewald Horn
0
286
Member Avatar for murali2489

Hi Team, Im reading Collections. It is mentioned that while intialising priority queue, it uses natural ordering by default. But my output is not like that. Below is my code and output. public class BackedCollections { public static void main(String[] args) { PriorityQueue<Integer> pq = new PriorityQueue<Integer>(); pq.offer(3); pq.offer(1); pq.offer(5); …

Member Avatar for murali2489
0
4K
Member Avatar for Violet_82

Hello, I have looked at an example of `GridBagLayout` (JamesCherrill you must be thrilled : - )!!) and there are a few things that are not entirely clear to me. First here is the code taken from deitel and deitel “Java how to program”, chapter 25: // Fig. 25.21: GridBagFrame.java …

Member Avatar for Violet_82
0
206
Member Avatar for maricar_1

create aprogram that will identify seat plan for an airplanewith availables columns and 20 availables rows.

Member Avatar for JamesCherrill
0
85
Member Avatar for prakash2813

Hello friends. I am having problem with displaying japanese characters into eclipse console. I use eclipse IDE. And I have two properties files. one for default english text, and second has japanese text. which is not correctly displayed when normally opened. I have used ResourceBuilder and Locale class (JDK 6 …

Member Avatar for prakash2813
0
315
Member Avatar for screenedcreamy

on click of an href i want to build a dynamic link and open the same in a new browser window using java. out.append("<A href="displayLinkDetails.do"/>Sample Link</a>"); (i want be able to send parameters as part of the action) currently the control is in java file. As im using a seperate …

Member Avatar for Ewald Horn
0
155
Member Avatar for MxDev

hi guys, iam workin on an application that calculate the income for certain diving centers, i using the SQLite database, i developed a database with 3 table the first one for user input, the second is to hold daily income, and the third for weekly income. i've a problem when …

Member Avatar for takonewa
0
2K
Member Avatar for murali2489

Hi Team, I am working on Collections and in order to Sort ArrayList of Objects of a Class based on their instance variable, it is mentioned in book that I need to OverRide CompareTo Method. compareTo Method works fine but Iam not getting the clear idea of its sorting logic. …

Member Avatar for murali2489
0
338
Member Avatar for vinay.pradeep.1

Hi Friends, I am working as a programmer in one bangalore based software company, interested to get some freelancing website projects. Plz suggest any firm that provides projects(software development & website development) to work from anywhere or any site that i can get freelancing work to do. I can handle …

0
40
Member Avatar for islam-morad

Hello guys, I'm workin on an application that is supposed to be generating certificates. Here are the steps: 1- input certificate data 2- generate certificate number 3- create the certificate and save its data in the database i have a table in the database which will hold certificates. The database …

Member Avatar for islam-morad
0
198
Member Avatar for r.nair3456

hi, its like this i did c++ at my school level for almost 2 years....its been 6 years since i have done any programming.....due to college studies......now i want to move to android development......for that i need to learn core java(j2se).....its been one month i have been doing j2se.....covered oops,classes,objects,inheritance,excepti... …

Member Avatar for Schol-R-LEA
0
313
Member Avatar for Siddharth_4

I have just upgraded my web application from spring version 3.0 to spring 3.2.6. I am using Maven, DWR 2.0.2 and Spring AOP in this web application. All my configuration is XML based, I am not using annotations. When I upgraded my configuration files to spring version 3.2.6. I faced …

0
85
Member Avatar for Santosh_5

I am trying to add new spinner below old one dynamically with click of a button. Also, I am adding button on the side of spinner dynamically. My problem is the spinners and buttons are added on top of each other. How can I add new spinner at the bottom …

Member Avatar for peter_budo
0
1K
Member Avatar for Rasool Ahmed

My problem is when I open new activity when pressing button an error accoutred "Unfortunately, ISPcheck has stopped". Here is my MainActivity.java button click event code: public void btnLogin_OnClick(View view) { startActivity(new Intent(MainActivity.this, PersonInfo.class)); } Here is button xml code in activity_main.xml: <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="تسجيل الدخول" android:id="@+id/btnLogin" android:layout_marginTop="72dp" android:textColor="#ffffff" …

Member Avatar for jonese068
0
3K
Member Avatar for scheppy

Hi all. What im trying to accomplish is to get strings from within a string. These strings are seperated with "//*//" an example would be String ExampleString = ("//*//helle//*//goodbye//*//1965//*//this is an example//*//the end"); then I would like to seperated into seperate strings. hello goodbye 1964 this is an example the …

Member Avatar for scheppy
0
291
Member Avatar for gtsiga

Hie guys I am prety new to JSF and Iam working on some peice of code. I am using primefaces components and JSF backed beans. Here are a list of my questions; 1. Is there a way of running a method each time a page loads. 2. During page load …

0
140
Member Avatar for joseph_7

Write a program that will swap two values stored in location X and Y. For example if the initial values were X=2 and Y=5 then after the execution of your program the stored values should be X=5 and Y=2. in mariesim

Member Avatar for JamesCherrill
0
162
Member Avatar for rgkrish183
Member Avatar for Violet_82

Hello, me again :-). This time I need to build a small calculator-like GUI, like this: ![3c9bdedf8ee9380da461586266ce3130](/attachments/large/2/3c9bdedf8ee9380da461586266ce3130.png "3c9bdedf8ee9380da461586266ce3130") This time I thought I'd ask a few questions before I start building it! 1)In terms of layout, I was thinking to use the GridLayout again: one for the text field and …

Member Avatar for Violet_82
0
3K
Member Avatar for utkarshsahu

Hi, I am making a song player in java with playlist functionality. I got my mp3 songs running all right. What i basically do in my player is search a folder for mp3 files and then add all to the playlist. Till here, it's fine and doing good. But the …

Member Avatar for JamesCherrill
0
1K
Member Avatar for sonam22

hello, i am trying to set the allignment of my slected data which i get in my text area.. can anyone help???

Member Avatar for JamesCherrill
0
34
Member Avatar for sk8ergirl

hi, I want to display only the user id and the name in jList and when the user select something from the jList detailes of that person will be display in a lable can you explain to me how to do it.. I've managed to display all the deatiles of …

Member Avatar for JamesCherrill
0
270
Member Avatar for Aqirulez

Hi you all... im a diploma student... im not very good at java programming.. i hope u all can teach me a bit bout this subject.. i dont want to carry this subject :3 ... kinda blurry.. lecturer kinda teach theory... sooo... i attacht word.doc...

Member Avatar for stultuske
0
234
Member Avatar for CoilFyzx

Hello good day. Here is my problem: I have retrieved some a couple sets of data from my sql database and saved them in ArrayLists of (custom)types <Student> and <Subject>. I am using a single Table. I want to create a custom AbstractDataModel that displays the data from the ArrayList<Student>. …

Member Avatar for CoilFyzx
0
1K
Member Avatar for androidf

Hi all, How to convert an pdf file to html in Java? Currently all my data is generated into a report in pdf and i want to be able to generate it to html page as well. How to go about implementing this, is there any source code in java? …

Member Avatar for peter_budo
0
355
Member Avatar for jeypijeypi

I'm creating a Web-based label printing system. For every label, there should be a unique s/n. So when a user decided to create 1000 labels (with the same data), all of it should have unique s/n, therefore the pdf will have 1000 pages, which increases the file size. My problem …

Member Avatar for peter_budo
0
2K

The End.