36,051 Topics

Member Avatar for
Member Avatar for sach_ak47

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 …

Member Avatar for mayur_kulkarni
0
81
Member Avatar for samuel_pay

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 …

Member Avatar for samuel_pay
0
166
Member Avatar for rajjaglove

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 …

0
40
Member Avatar for Venks

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.

Member Avatar for ~s.o.s~
0
99
Member Avatar for ianiramires

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 …

Member Avatar for ~s.o.s~
0
187
Member Avatar for pelegk2

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 …

0
50
Member Avatar for palavi

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 …

Member Avatar for peter_budo
0
118
Member Avatar for love_dude1984

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 …

Member Avatar for jwenting
0
141
Member Avatar for sandawg

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

Member Avatar for sandawg
0
257
Member Avatar for toyomansi

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, …

Member Avatar for toyomansi
0
691
Member Avatar for liam_page1

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 …

Member Avatar for stultuske
0
100
Member Avatar for 4ukh

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

Member Avatar for 4ukh
0
148
Member Avatar for tamilramki

Hi Why the variables are stored in stack and objects are stored in heap... may i know the exact use of heap... thank u

Member Avatar for jasimp
0
90
Member Avatar for rigah27

i have aproblem with creating java code for a screensaver e.g a moving bus across the screen.please help me do it

Member Avatar for jasimp
0
50
Member Avatar for SonxQ7

[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 '^' ....

Member Avatar for SonxQ7
0
118
Member Avatar for Gaspacho

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 …

0
58
Member Avatar for bigBback

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.

Member Avatar for sciwizeh
0
57
Member Avatar for ocreds

For: Sum = Var1 + Var2 Difference = Var1 - Var2 Quotient = Var1 / Var2 Product = Var1 * Var2 What Exponent = ? Thanks in advance...

Member Avatar for Alex Edwards
0
125
Member Avatar for lsquared

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 …

Member Avatar for Alex Edwards
0
90
Member Avatar for vibhashin

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?

Member Avatar for vigneswara
0
80
Member Avatar for qaz1134

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 …

Member Avatar for vigneswara
0
117
Member Avatar for HLA91

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 …

Member Avatar for HLA91
0
3K
Member Avatar for Mr.UNOwen

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 …

Member Avatar for sciwizeh
0
155
Member Avatar for hny_lyn

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 …

Member Avatar for MoZo1
0
1K
Member Avatar for amoon108

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 :)

Member Avatar for peter_budo
0
84
Member Avatar for royonline
Member Avatar for jwenting
0
283
Member Avatar for rcoleman

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 …

Member Avatar for rcoleman
0
253
Member Avatar for AirmanTheGreat

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: " + …

Member Avatar for AirmanTheGreat
0
212
Member Avatar for twgood

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: …

Member Avatar for peter_budo
0
135
Member Avatar for prathapvs

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 …

0
47
Member Avatar for guravharsha

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 …

Member Avatar for ~s.o.s~
0
104
Member Avatar for winbatch

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 …

Member Avatar for winbatch
0
203
Member Avatar for scunnywhite

[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() …

Member Avatar for Ezzaral
0
86
Member Avatar for neknek

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 …

Member Avatar for neknek
0
96
Member Avatar for texantrail

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; …

Member Avatar for texantrail
0
823
Member Avatar for ninaijanai

[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); …

0
55
Member Avatar for tactfulsaint

hello everyone I still need code snippet help with authentication of username and password on both java and web application..

Member Avatar for ~s.o.s~
0
569
Member Avatar for dav555

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 …

0
65
Member Avatar for mdew_47

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.

Member Avatar for mdew_47
0
204
Member Avatar for Dancealot

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 …

Member Avatar for Dancealot
0
178
Member Avatar for gaurav_chhabra

[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 …

0
64
Member Avatar for twgood

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) …

Member Avatar for darkagn
0
100
Member Avatar for adityam4444

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 …

0
61
Member Avatar for twgood

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?

Member Avatar for Ezzaral
0
73
Member Avatar for teh noobshow

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 …

Member Avatar for Ezzaral
0
146
Member Avatar for sciwizeh

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

Member Avatar for sciwizeh
0
96
Member Avatar for Naween

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 …

Member Avatar for Ezzaral
-1
86
Member Avatar for witza

:$ 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 …

Member Avatar for nnobakht
0
182
Member Avatar for vath88

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 …

0
62
Member Avatar for Naween

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; …

Member Avatar for sciwizeh
0
105

The End.