35,618 Topics
![]() | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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); … | |
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 … | |
create aprogram that will identify seat plan for an airplanewith availables columns and 20 availables rows. | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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... … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 | |
ClassNotFoundException:com.mysql.jdbc.Driver | |
Hello, me again :-). This time I need to build a small calculator-like GUI, like this:  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 … | |
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 … | |
hello, i am trying to set the allignment of my slected data which i get in my text area.. can anyone help??? | |
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 … | |
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... | |
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>. … | |
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? … | |
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 … |
The End.