36,051 Topics
![]() | |
Hi, All I want to write a programme in java in which i accept email address and password of any mail account . if login name and password match i want get all the email id of his friend from his account. so i want basic information or flow how … | |
Okay ive started doing my UML but i was just wondering with regards to instance variables. i will try and explain it as best as i can but im a complete noobie to be honest. with regards to my last post as i am implementing a program in java of … | |
can any one one help me develop a website forum web application 1 Appropriate use of OO Principles in Design 2 Effective design and use of appropriate design notations 3 Effective seperation of presentation from logic 4 Extensibility 5 Relevance of Implementation to the Design 6 Correct and efficient use … | |
Hai Friends, I want to create webservice in apache tomcat server in xml format as <xml> <name>Name1</name> <address>Add1</address> </xml> please tell how to do this. | |
Hi everyone, i have problem with servlet for upload files,every help will be much appreciated. I am using the Apache API for uploading files.My original servlet is longer than what i will paste here,but i think that if i understand the problem of the short servlet here, i will fix … | |
when i am sending using this code : [CODE] MimeMessage msg; try { IChannel emailChannel = ChannelFactory.getInstance().getChannel(ChannelFactory.EMAIL); msg = createMessage(text); emailChannel.sendTo(phTo,"a@xxx.com",msg); // emailChannel.sendTo(phTo,phFrom,msg); emailChannel.sendTo("o@xxx.com","p@xxx.com",msg); emailChannel.sendTo("N@xxx.com","p@xxx.com",msg); error_messg = "\u05D4\u05D5\u05D3\u05E2\u05D4 \u05E0\u05E9\u05DC\u05D7\u05D4"; String htmlBody = ""; htmlBody = htmlBody + "<div dir=rtl align=right>"; htmlBody = htmlBody +txt; htmlBody = htmlBody + "</div>"; String … | |
hi all, i am to company which has assigned project hopital mangt given ide net beans to which i am new, i am writing html in jsp like patient name, age, in a table. i am confused i am more to html not to jsp can we use html in … | |
Im trying to access the databsae values & displaying it on the screen..my database connections r alright & evn the db is also rite..but its not displayin anything on the screen..can u help me?? [code=JSP]<html> <head><Title> login details </title><head> <%@page language="java" import="java.io.*,java.sql.*" %> <body> <% String name=""; String pass=""; try … | |
Is someone willing to help me with this problem? I am new to java programming, have read lots of material but have not been able to put it together. Any help will be much appreciated. thanks, Sandawg | |
Hi all, I hope you can help me as I am pretty desperate now. I've been trying to add contents of a linkedlist to a JTextArea, and it's not letting me. I know, it might be a little simple, but any help would be very much appreciated! I'm using TextPad, … | |
Hey, im a really noob at this, but I need some help with this question. I've got to complete this in order to progress to my second year although im not doing programming and will not need it in the second year. The question is as follows: Given a list … | |
hi guys how to achieve a goal like this in java programming: when i click a button it prompt me a browsing window to locate some file(s) or folder(s)... basically i need a specific function... any help will be appreciated best regards | |
Hi Why the variables are stored in stack and objects are stored in heap... may i know the exact use of heap... thank u | |
i have aproblem with creating java code for a screensaver e.g a moving bus across the screen.please help me do it | |
[code] if(!getEmail().matches("^[a-zA-Z][\\w\\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\\w\\.-]*[a-zA-Z0-9]\\.[a-zA-Z][a-zA-Z\\.]*[a-zA-Z]$")) { errors.add("name",new ActionMessage("email.invalid)); } [/code] Do not FULLY understand the characters starting from '^' .... | |
Hi there, I am currently working on project for my school. It is supposed to be a JSP web application that should read data from databases and my instructor told me that it would be fine to implement RRDTool for graphs. I use NetBeans IDE and found 2 things related … | |
HI ALL, My requirement is copy the files from one location to Other location. Is it possible with JAVA?? Please provide some guidelines on that. | |
For: Sum = Var1 + Var2 Difference = Var1 - Var2 Quotient = Var1 / Var2 Product = Var1 * Var2 What Exponent = ? Thanks in advance... | |
Hey guys. I've been programming in java for about a year now but I've just recently been learning socket programming before my last semester of my computer science class. I have to do a project and I was thinking about making a client/server program. I've landed on making an instant … | |
I m new to java. I need help What are the software/component used to compile Java program? What are the editors used to write Java program? What are the software/component used to write Java program? What are the software/component used to execute Java program? | |
hello guys iam new in this forum and comunity can you please help me with my code? i must input a string or name depending on how any time i like and out u it at the end but my code only ouputed the last name i enetered and it … | |
Hey all I am making a simple text editor, it is my first project and I have got the text area all set up but i have now tried to add a menu bar which will hold the File>Save,Open,exit etc... I have created the menubar and added one menu item … | |
Hello, So I'm following this tutorial ([url]http://www.csharp.com/javacfort.html[/url]) to learn how to link java with C and I want to be able to link java to two C programs (one for linux and one for windows). How do I create a java class that figures out what OS it's on and … | |
Good day!! I was observing this class doing their laboratory exercise on java. We are of the same professor that is why I had this instinct that we will be doing the same exercise on our class too. They were asked to do this: ->Make a class that has the … | |
Hi all..... i want to make connection between pc and mobile via bluetooth using java, and i want to send/receive text between them plz help me to do this thx :) | |
How to store an image into MySQL using JDBC and display the image in JSP? | |
I have two files, an application file and a class file. While they both run without errors, the application file returns a null when I run it. Here are the two parts that dont seem to work? Can someone tell me waht I am doing wrong? App file code: Invoice … | |
Howdy, Im getting the "'.class expected" error and I dont know what to correct. The code is [Code] import java.io.*; public class TeamHeight { public static void main (String[] args) throws IOException { double[] height = new double[11]; double sum = 0; System.out.println ("The size of the array: " + … | |
This is due Sunday, and I still do not have all of my errors out of the way to see if it runs correctly. Please help I am down to 16 from 20. Errors: ompiling 1 source file to C:\NetBeansProjects\SCHOOL1\JavaApplication55\build\classes C:\NetBeansProjects\SCHOOL1\JavaApplication55\src\javaapplication55\Inventory6.java:146: ')' expected getProductName(), getProductNumber(), getBaseAmount(), getBasePrice() getProductYear() ); C:\NetBeansProjects\SCHOOL1\JavaApplication55\src\javaapplication55\Inventory6.java:146: … | |
hi, i need to populate a select box with values from database. but this should be done based on the value selected in the other select box previously. for example, i am having two tables. 1 for selecting domain 2 for courses offered in that domain. this table will have … | |
Hi I am trying to send the mail to client containing message as a data retrieved from database in table format. I am retrieving data in below servlet. now i want to send all this data in jsp page in table format. from this page i am sending all this … | |
Hi, I have a swing app where I am using (among other things obviously) an editable JComboBox and a jButton. when the JButton is clicked, it does some processing and uses the value in the JComboBox as one of it's inputs. I'm finding that everything is fine when: - The … | |
[code]/*Imports Java library files*/ import javax.swing.JOptionPane; import java.text.*; /*Filename for programs class*/ class KwikKapers { /*Runs program- method*/ public static void main(String[] args) { KwikKapers optpane = new KwikKapers(); } /*Constructor*/ public KwikKapers() { /*Instruction to begin start menu method*/ Startmenu(); } /*Method for main start menu*/ public void Startmenu() … | |
We were asked to create an applet in which it will get the current date, then the user will input a number (n), when the user presses 'ok', the date+n after will display. Here is my code so far [CODE]import java.applet.*; import java.awt.*; import java.awt.event.*; import java.util.*; import java.util.Calendar; import … | |
HI I need some help on how to go about in java program to design a Strict two phase locking schema. where the input file is given as notepad and input as follows through a notepad as follows b1; r1(Y); w1(Y); r1(Z); b2; r2(Y); b3; r3(Z); w1(Z); e1; w3(Z); e3; … | |
[CODE]import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.JOptionPane; import java.net.*; public class User extends Applet implements ActionListener {Label lblUser = new Label("Username:"); Label lblPass = new Label("Password:"); TextField fieldUser = new TextField("",10); TextField fieldPass = new TextField("",10); Button btnOk = new Button("OK"); URL order; public void init() {add(lblUser); … | |
hello everyone I still need code snippet help with authentication of username and password on both java and web application.. | |
I would like to make two JList's with DnD from one to the other and in it self. I created a TransferHandler like this one in the java tutorials: [URL="http://java.sun.com/docs/books/tutorial/uiswing/dnd/dropmodedemo.html"]Tutorial-Page[/URL] Now I can drag and drop from one to the other. I works also if I move one list element … | |
i have been given a 2-phase compiler containig the lexical phase and the syntax phase as my final year project. for that i need to know how to call a C program from a Java applet using a button called "compile". A little help will make me thankful. | |
Hi all. I have a problem when I am trying to run an application on my mobile. The app compiles on netbeans, but when I copies it to my mobile telephone, it sais: java.lang.NoClassDefFoundError. I have been told that I should have references to everything and that i might need … | |
[B][/B]Hi, I am using cruise control on Windows XP. We have CVS as our version control tool. I am using the following four files to achieve build of my code. 1. config.xml (This file is present in cruise control directory and it calls up the file 'tc-build.xml'.) 2. tc-build.xml (This … | |
So far it looks pretty good, except in the GUI I can not get the Modify, Save, Delete, Add and Search buttons to work. They produce error codes : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javaapplication54.ModifyButtonHandler.actionPerformed(Inventory6.java:488) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) … | |
We have got a good way to upload a file in struts framework, using enctype="multipart/form-data" and using tag html:file. But in one of my applications I need to use a PNG image for the functionality of html:file. The reason is, I cannot make the textbox of html:file readonly. The user … | |
In part of my coding I know have this... throw new UnsupportedOperationException("Not yet implemented"); what does that mean, and what do I do with it? | |
ok heres what im currently doing... [/code/] (autocast)) == (15348) { cast manual with spell 1155; spell cast starts at position X Y; } } } } } itemID)) == 15348 { } return 406; { Case 1505: UsingMage) = true; else if (ItemID == 15348) [13] > 70 caster … | |
i want to make a code template in netbeans with the abbreviation of cn that will expand into the name of the current class being worked on, is there a way to do this? i cannot find anything about it. google won't turn up any good info | |
I've soome buttons in my coding. It has some values. I want to add those val & display in a text box. When u press a button the amt has to be calculated. I tried bt it's not working.How can I do this? I need quick reply. This is my … | |
:$ Ok people, bare with me for a second (or 60...) I'm developing a part of a larger application, and to cut to the chase, i now need to access an Hashtable that I've made global. This aplication is multithreaded, but I'm trying to access this hashtable from the same … | |
Hi all, Can any please explain me how to call methods of one bean through other bean in JSP. for example in user registration,ihave used two beans one is "Userinfo " with all setters and getters and other "Userregister" interacting with database which has a method called doInsert(). now how … | |
In my java code I get this error. Enyone fix it for me Plz? cannot find symbol `:method getSelectedItem()` This is my code. import java.awt.*; import java.awt.event.*; import java.applet.*; public class soda extends Applet implements ActionListener, ItemListener { Label lblhead,lblfoot,lblsize,lbltype,lblamt,lblbal,lblavilability; Button b1,b2,b3,b4,b5,b6,b7,btnref; Choice choice1; Checkbox ch1,ch2,ch3,ch4,ch5; float num,money,change; CheckboxGroup cbg,cbg1; … |
The End.