35,618 Topics
![]() | |
hi, any one plz tell me how to connect oracle database with the help of struts . i am begginner in struts. thank u | |
Hey this is the error im getting "SEVERE: Shutting down v3 due to startup exception : Address already in use: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@1a683e6"" Do you have any Idea how I can solve it? | |
Hello there, I have been searching for tutorials for 'j2me sdk 3.0' for few days but havent found any helpful tutorials. All of them that i came across were for 'j2me wireless tool kit' which according to sun has been embedded in 'j2m sdk 3.0'. So anyone from this community … | |
Hey guys :) I have been working on an MMORPG for the sole purpose of education recently because i want to start computer science at University in a couple of years and be really prepared for it (i'm only 17 this year) So far i have basically all the networking … | |
I already created a class Calculator that performs basic arithmetic, now I need to create a class called ScientificCalculator that the functionalities of "Calculator" class through use of inheritance. Scientific Calculator has additional operstions of 1) taking a log of a number to any base 2) taking any number to … | |
Having problem setting JTextFields on a passed object. System.out suggests that all parameters are correct. Am I working with the KeyCards Object wrong? (keycards just builds Panel and components) netbeans project attached. The problem to be solved is in the keycards package. XMLReaderProgressions.java and FillJTextFieldsFromGetters.java Every part of this code … | |
This is my first java code so needless to say I don't know a lot about this. I think I have it all coded correctly but I don't know how to test to verify that it works. The assignment (found [URL="http://media.pearsoncmg.com/aw/aw_kurose_network_3/labs/lab2/lab2.html"]here[/URL]) wants us to actually send a message once we're … | |
i want to make a project on Lan Messenger. but unable to get information of how it works i.e. transfer file, send message.... help me out!!!!!!!!!!!!!!!!!!:confused: | |
Hello, I'm working on a specific classloader for my application, but I'm having trouble getting the Generics to work the way I would like them too. I have the following: [code] public interface Loader<E extends GEObject>{ // methods } public class GEClassLoader<E extends GEObject> extends URLClassLoader implements Loader<E>{ // methods … | |
I'm trying to use for loops to output: 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 public class Fit1 { public static void main(String args[]) { int side1,side2, side3; for (side1 = 1; side1 <= 3; side1++) { for (side2 … | |
how to deal with awt and swing component in java .error is produced when i compare the swing component so what i do for solving it; | |
below coding is used for print date currennt date and time from your pc [code=Java]import java.text.SimpleDateFormat; import java.util.Date; public class dateformate { public static void main (String args[]) { Date date = new Date(); System.out.println("today date "+date); } }[/code] | |
Hi, I need the solution immediately for this Elevator Problem. Please find the attached document and reply to me immediately. Thanks | |
hi, i'm not good with n/w security or i donno how sha, des works :confused: ,... so pls tell me a [B]simple[/B] algorithm to implement enc and decryption in java.:icon_mrgreen: thanQ, Beanboy:cool: | |
I am having a small bit of trouble with a certain program. Here's the program requires. The program developed in Chapter 8 sent data to an external, sequential data named payment11192007 (or payment plus the system date for your computer). It opened a connection to the DataOutputStream and used the … | |
Hi guys, Anybody know how to generate checkboxes dynamically if i want to generate them with the result i have fetched from a database query. The query would be like that, SELECT calltype From table Where phone_no=123456; Now result of this query will vary everytime, there total number of checkboxes … | |
Hi I'm developing an application using jsp.In that i want to upload a file and insert the datas from that into database. I'm using file type input box to upload file. Its working fine in IE,but getting problem while running in Firefox 3.Bcoz of the security purpose,I cant get the … | |
I am having trouble adding information from a ".txt" file to a linked list... here is what i have. list1.txt: 1 2 4 5 6 7 8 11 [CODE] /** The LinkedList1 class implements a Linked list. */ class LinkedList1 { /** The Node class stores a list element and … | |
Hi guys, got a few questions 1. i have initialised my collection with a few objects, how do i set the make etc when i initialise them (i have the set methods). So in the line below where would i put setMake()? would it work with a . accesor after … | |
This is an assignment I have and i'm running into problems on this part of it. I need to assign the value I get from scanner input = to a variable in another class. After I do that, I need to be able to call a method that will display … | |
Greetings! I am wanting to macro commands for the Windows Command Line interface from within a Java application. How do I do this? | |
Hi, I have a form linked to a servlet that uploads files. I would like the name of the file that has been uploaded to be displayed next to the <h3>line once it has been processed. I have no problems linking the servlet to the form or uploading the file. … | |
How can I add a loop to this so that it asks the user if they want to calculate another loan and if they choose no the program ends, but if they choose yes, the program loops back and asks for loan amount? [CODE]import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public … | |
Hello everyone! I am new to Java so this may be a very easy question. I am trying to write a program and display just the remainder after two numbers have been divided. Here is where i am: import java.util.Scanner; public class Midterm1 { public static void main( String[] args … | |
hello i install mysql , jdk and tomcat. when i run java file it give message that no database connection available . where to put mysql connector and how to set class path in environment variable . plz help me | |
hey there, I have the following code: [CODE]import java.awt.*; import javax.swing.*; public class TabelaEShahut extends JPanel{ public static void main(String[] args){ new TabelaEShahut(); } public TabelaEShahut(){ JFrame f = new JFrame(); f.setSize(500, 500); f.setVisible(true); f.setTitle("shah"); f.getContentPane().add(this); } public void paintComponent(Graphics g){ g.setColor(Color.white); g.fillRect(0, 0, 700, 700); g.setColor(Color.red); g.fillRect(50, 50, 400, … | |
... I need help.. :( ....please teach me how to make formulas that can input in showInputDialog .. :( As a private math tutor for grade school children, you design an application to teach multiplication tables. As a prototype for your design, you begin with the number two. One set … | |
Hi How can i change my application default java icon with my own? The problem is that my frame dont have a name =( [CODE] ..... public Main() { super("PDB Viewer"); GLCapabilities caps = new GLCapabilities(); caps.setDoubleBuffered(false); canvas.addGLEventListener(new SecondGLEventListener()); canvas.addKeyListener(new SecondGLEventListener()); getContentPane().add(canvas, BorderLayout.CENTER); canvas.requestFocus(); initComponents(); pack(); setBounds( 150, 20, 800, … | |
Hello. I am trying to return an array and print the values. [code] public class Sample { public static void main(String args[]){ for (int i = 0 ; i<getNames().length;i++){ String a[] = new String[getNames().length]; System.out.println(a[0]); } } public static String[] getNames() { String names[] = {"bob", "jim"}; return names; } … | |
Hi, in a Java Applet there the keys control movement, I have a couple of questions (sorry for the disorganized nature of multi-item requests). 1.[CODE=C] if (key=KeyEvent.VK_RIGHT) { x++; } [/CODE] But, as you might have guessed by this post's title, the movement delays before continuing its motion, as a … |
The End.