36,051 Topics

Member Avatar for
Member Avatar for NareshBabu

I want to develop an application. It should send my data base data to my mobile cell how can i do this. please help me -------i need the books and i need the location where i can get this application related info Thank you

Member Avatar for peter_budo
0
100
Member Avatar for prasanta08

hello guys,i'm new to this forum.i am developing a website for my final year project.it's a dummy project.i need a free payment gateway or something like that.So that the user can pay via credit card.it is purely an academic project,so i don't want to spend money. i need your suggestion.how …

Member Avatar for naugiedoggie
0
115
Member Avatar for JamesGuin

Hey everyone, I am new to Java and I use NetBeans to do programs. On my latest project I am attempting to code a program to read a input text file of format. ie. Attend class: 0 120 -one time event Push snooze on alarm: 0 1 3 5 - …

Member Avatar for JamesCherrill
0
97
Member Avatar for jaiprakash15

Dear Friends., Am new to the java world.. I am creating a application where i have to generate a html page from a Dynamic jsp page.. I have tried my best and i was able to create a static html page from a JSP.. But how to fill the data …

Member Avatar for jaiprakash15
0
1K
Member Avatar for c_skyscraper

[CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class LoginScreen extends JFrame { JLabel userId; JTextField userIdT; JButton userIdHelp; WelcomeLogin welcome; public LoginScreen() { super("User Login Screen"); Container surface = getContentPane(); setSize(1024,750); setDefaultCloseOperation(EXIT_ON_CLOSE); setLocationRelativeTo(null); surface.setLayout(null); welcome = new WelcomeLogin(); surface.add(welcome); userId = new JLabel("User ID :",JLabel.LEFT); userId.setBounds(20,50,80,20); surface.add(userId); userIdT …

Member Avatar for Ezzaral
0
99
Member Avatar for d0813008

hiiiiii friends actually i m implementing binary tree in java,i have done this by passing node,but i want to do same usin array method,please help me .i have to do this within two days

Member Avatar for BestJewSinceJC
0
43
Member Avatar for Isy

Hi everyone, I need your help on deciding what type of mobile game should I create for my project, I will also need help on how to create a mobile game from scratch if anyone has good source such as website or books please let me know I will really …

Member Avatar for Isy
0
94
Member Avatar for ahoest

Hey, Does anyone know how I can draw lines between the textfields? If I ask for x and y then this is relative to the component itself.. Also now I have made a separate class but this means that when I draw the lines the textfields disappear they cannot exist …

Member Avatar for peter_budo
0
880
Member Avatar for Esben

Hello, I have several Objects in switch I need to set the text that should be in a string, ill show an example of how i have done it. It´s all made in a JPanel using NetBeans. private void comboBoxMajorChoosingActionPerformed(java.awt.event.ActionEvent evt) { comboBoxMinorChoosing1.addItem("English"); comboBoxMinorChoosing1String = comboBoxMinorChoosing1.getSelectedItem().toString(); } private void comboBoxMinorChoosing1ActionPerformed(java.awt.event.ActionEvent …

Member Avatar for peter_budo
0
91
Member Avatar for smita123

Hi all, Could you please sugest me some code for building the GUI to browse a file and to upload using Swing. Thanks,

Member Avatar for smita123
0
147
Member Avatar for vict0rjr

I'm creating a new class called album which is supposed to make an album and show pictures with caption. so.. Ok my problem is the methods section... i need help to set the array in the picture album and set the captions too can any one please help me out …

Member Avatar for peter_budo
0
100
Member Avatar for ajithraj

[B]is there any way to disallow more than one login [/B] I mean , in IE we can log in a yahoo Mail with a number of mail id at the same time...But this is not allowed in Mozilla..... I want to implement this(like that in Mozilla) restriction in our …

Member Avatar for ajithraj
0
95
Member Avatar for sammo5889

Hi, just doing a uni assignment and have completed a majority of it, just asking if someone could please proofread and help me out with the last line as i can't get it to compile. heres my instructions: All objects that float through space are instances of the SpaceObject class …

Member Avatar for zyaday
0
116
Member Avatar for swatiringe

I want to construct a bipartite Graph for matchmaking of web services. First step of my project is graph construction. I need help in Bipartite graph construction

Member Avatar for Freddy00daniweb
0
170
Member Avatar for mzdiva041986

This program actually reads in an input expression and using the grammar rule to determine whether the syntax is ok or not. This is a lexical analyzer. I need to be able to read in the input expression and output each token of the expression and it's token kind. I'm …

Member Avatar for BestJewSinceJC
0
74
Member Avatar for jsully1

I am new to using swing and I am trying to find a good way to organize a window with multiple tabs. I have found the info on Sun's website but I still need to manipulate the positions and alignments of those tabs more than what it covers. I also …

Member Avatar for BestJewSinceJC
0
70
Member Avatar for mveleli
Member Avatar for darkagn
0
39
Member Avatar for hell_tej

Hi Friends, My BCA(Bachelor of Computer Application) 6th sem Precticle exam is After 3 Days, so i want some good prectice of programs but i have no good Questions for prectice. Can you give me Some Servlet,JSP,RMI,and J2ME questions so i can practice that programs.:)

0
68
Member Avatar for gk0110

Hi all, I need to convert a JSP file to a PDF file dynamically After converting into PDF , I need to concatenate with another PDF which is already existing and this as a single document to the printer queue.. Please give ur suggestions.. Kindly post some source code which …

Member Avatar for peter_budo
0
37
Member Avatar for Grn Xtrm

Hello, I'm facing another problem with vectors, this time with the problem of converting infix to postfix. The compile process completes, but I recieve an error after I enter the infix expression. Here is the exact error I recieve: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 43 >= 2 at java.util.Vector.removeElementAt(Vector.java:511) at …

Member Avatar for Grn Xtrm
0
142
Member Avatar for cherryduck

Hi everyone, I'm making a program to store library books details, my constructor is such: [CODE]public Book(String author, String title, String publisher, int year)[/CODE] and I'm using an array to store and number the books and details, as such: [CODE]for(int i = 0; i <= 100; i++) { String book[i] …

Member Avatar for cherryduck
0
132
Member Avatar for Rombosia

Hi guys, I'm connecting to a bluetooth printer using a Phone via the following address: btspp://" + PrinterBluetoothAddress + ":1;authenticate=true;encrypt=false;master=true"; With this address, I'm able to print using a Sony Ericsson. With a Nokia, however, the master=true option is not supported. If I use master=false, I can just connect to …

Member Avatar for peter_budo
0
79
Member Avatar for frozon

hi am new to java and have a problem in displaying the x and y points on the graph to solve this ax3+bx2=x+d=0 here is the code import java.awt.*; import javax.swing.*; import java.awt.event.*; /** * PROGRAM: Cubic * DESCRIPTION: This program solves the cubic Equation for a given range of …

Member Avatar for frozon
0
121
Member Avatar for pyscho

can someone plz help prog that allows the user to accept 2 end points (using mouse) and draws a rectangle between 2 points (using AWT Frame class and mouse listeners) 2.accepting two strings as comand line argumnts and append both. 3.a prog for accepting string from user. i am a …

Member Avatar for pyscho
0
90
Member Avatar for curtissumpter

Hello, I have this piece of code. [code=java] private Vector getColumn(ResultSet rs) throws SQLException { Vector row = null; ResultSetMetaData rsmd = null; boolean moreResults = rs.next(); if (moreResults) { row = new Vector(); rsmd = rs.getMetaData(); do { switch(rsmd.getColumnType(1)) { case Types.VARCHAR: row.addElement(rs.getString(1)); System.out.println(rs.getString(1)); break; case Types.INTEGER: row.addElement(new Integer(rs.getInt(1))); …

Member Avatar for masijade
0
128
Member Avatar for harrysuke

what about this one? HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390) root cause java.lang.ClassFormatError: com/mysql/jdbc/ConnectionImpl com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:283) java.sql.DriverManager.getConnection(DriverManager.java:582) java.sql.DriverManager.getConnection(DriverManager.java:185) JspDBSolution.KidsBooksPage.init(KidsBooksPage.java:20) JspDBSolution.BookStoreServlet.processRequest(BookStoreServlet.java:34) JspDBSolution.BookStoreServlet.doGet(BookStoreServlet.java:90) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)

Member Avatar for stephen84s
0
358
Member Avatar for madeindadex305

First class mail has no insurance, and costs $1 plus 17 cents for each ounce up to a maximum of 13 ounces. The first trick here is that your weight is stored in pounds and the description of the cost formula is in ounces. You do remember how to convert …

Member Avatar for darkagn
0
126
Member Avatar for helixkod

I am trying to create random rectangles and ovals. This is what i ahve so far: [CODE]import java.awt.Color; import java.awt.Graphics; public class MyRectangle { private int x1; private int y1; private int x2; private int y2; private Color myColor; //constructor with input values public MyRectangle( int x1, int y1, int …

Member Avatar for helixkod
0
129
Member Avatar for curtissumpter

Hello, I have this piece of code. Help with Code Tags java Syntax (Toggle Plain Text) [code=java] private Vector getColumn(ResultSet rs) throws SQLException { Vector row = null; ResultSetMetaData rsmd = null; boolean moreResults = rs.next(); if (moreResults) { row = new Vector(); rsmd = rs.getMetaData(); do { switch(rsmd.getColumnType(1)) { …

0
64
Member Avatar for JamesCherrill

Here's a question for those of you who have experience of fixing or enhancing other people's Java code, which I hope will also be really useful for those in the early stages of learning programming. Please contribute! If you've looked at other people's code, you will know that sinking feeling …

Member Avatar for JamesCherrill
0
107
Member Avatar for KirkPatrick

Before going into the explanation I will list what I am wanting to do in order: [B][LIST] [*]Have main() read [U]results.csv[/U] and create beans according to the lines of data in the file [*]Have my beans set up correctly (getters, setters, and propertychanges) [/LIST][/B] To give you guys a quick …

0
80
Member Avatar for Zass101

I will pay the first person to finish this task via paypal!!! I will pay $5! Good luck! [B]Brief:[/B] Create a program that will read data related to the test results of a particular group of learners from a text file. The data must include fields of the following types: …

Member Avatar for peter_budo
-3
224
Member Avatar for Lekeby

Hi! I have a school project where I have to make a array that includes facts about films. Every space in the array includes leanght of the film, authour, grade, company, and title. So I know how to write it to a file but I have no idea how to …

Member Avatar for JamesCherrill
0
119
Member Avatar for Thayland

Hi all! I've been working on a problem from my Intro to Java class for a couple of weeks and I feel like I'm close. I turned it in and only got partial credit. Here goes: This program allows a user to enter a phone number, country code, area code, …

Member Avatar for Thayland
0
2K
Member Avatar for aixing

I'm having some problems in creating sessions in JSP pages. I'm new to it so I need some advices. [CODE]<%@ page import="entity.*" %> <% [COLOR="Red"]HttpSession session=request.getSession(true);[/COLOR] String id = request.getParameter("idNo"); String fullName = request.getParameter("fullName"); String maritalStatus = request.getParameter("maritalStatus"); String height = request.getParameter("height"); String weight = request.getParameter("weight"); String gender = request.getParameter("gender"); …

Member Avatar for peter_budo
0
102
Member Avatar for AS_82

[B]Hi, I am developed a simple web application using servlet where it gives a response for a fixed request, but a third party application sends this request very frequently as per our project architecture, but due to this very frequent request, the tomcat server slow down after a few seconds, …

Member Avatar for stephen84s
0
1K
Member Avatar for BestJewSinceJC

Question directed at JamesCherill specifically, (and anyone else who can answer it) I've never had [I]too[/I] much trouble with communicating between the model and the view, in an application that only has a model and a view. However, looking at the observer pattern (at the bottom) of this [URL="http://leepoint.net/notes-java/GUI/structure/ui-model-communication.html"]link[/URL], I …

Member Avatar for Ezzaral
0
1K
Member Avatar for pjpro

I have tried to make a chat application that only saves the recieved messages which can then be deleted. I'm having some major problems with it. Can anyone please point out or correct my coding. I have tried for ages to get this working but with no joy. Client Code …

Member Avatar for Antenka
0
1K
Member Avatar for Mubo

hi guys I hava an assignment, which is writting a java code that most efficiently add 50.000 element to a threaded binary tree. the Key nodes are integers between [-5.000.000 to 5.000.000]. No delete operations are needed, but only adding that elements to binary tree i hope you can give …

Member Avatar for BestJewSinceJC
0
38
Member Avatar for smsamrc

if i want to print 2 to the power 3 normally what we do is 2^3. is there any other way that i can print it in the console in the way that we normally write it on a paper. does anyone know it pls tell me.

Member Avatar for smsamrc
0
758
Member Avatar for stevnlon

HI, aLL [code]final int[] fromStop = {1, 2, 3, 3, 4, 5}; final int[] toStop = {3, 4, 5, 1, 2, 3};[/code] im trying to write a loop to create and start passenger threads with the respective from and to stops in the arrays above. e.g. Passenger 1 goes from …

Member Avatar for stevnlon
0
2K
Member Avatar for ed7171

I would like to find out how to fix drop down menu over flash when the flash content brought by the java/script below into iframe? You may see what I am talking about here : [url]http://67.220.225.130/~ktaelot/#[/url] Here is the script: [CODE=javascript]<script type="text/javascript"> var fo = new SWFObject("ext/viewer.swf", "viewer", "100%", "100%", …

Member Avatar for ed7171
0
109
Member Avatar for PhiberOptik

Hi Folks, I am having difficult with a program. I have a program that downloads a file to the directory it is being run from and I need to move it to another one after its done downloading. I found code that should do it but it keeps failing, and …

Member Avatar for naugiedoggie
0
132
Member Avatar for jollyton12

Hey guys, I am doing my game project but i get this error everytime i press high scores button...can any one explain what this error means? Thanks in advance :) j Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 at HighScoreManager.readHighScores(HighScoreManager.java:22) at StatusView$1.actionPerformed(StatusView.java:71) 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 …

Member Avatar for jollyton12
0
454
Member Avatar for Mubo

Hi guys , i am a to programming and have to do little code as an excercise, but got little confuse about constructors and objects while compiling my programm. forexample i created an object of a class called AsciiImage; in the Main class public class AsciiReader{ public static void main(String …

Member Avatar for Mubo
0
85
Member Avatar for skiing

Here is what I am trying to do I am trying to compare to values that are set up as generic values and return whether one is greater than the other and it is telling me that (E, E) cannot be applied and I don't know why. I would appreciate …

Member Avatar for Antenka
0
106
Member Avatar for Olsi009

Hi, I am trying to write a program in Java and I am having a problem with a small part of it. I am using a JLabel to display an image. The JLabel is added to a JPanel with fixed width and height. But the problem is that the image …

Member Avatar for nmaillet
0
73
Member Avatar for Olsi009

Howdy, I am trying to write a simple program in java that creates a database with some tables and adds some data, but I keep gettin this error: [CODE]java.sql.SQLException: No database selected[/CODE] I am posting the code below, it's really easy to understand. Please HELP!!! I am new at mySQL …

Member Avatar for Olsi009
0
157
Member Avatar for kbullard516

Alright, I'm trying to import data from a text file into an array, the data represents different properties of buildings that are to be drawn on a panel. I have 3 classes, Building3 which represents an individual building, CityPanel3 which represents the panel that the buildings are drawn upon (also …

Member Avatar for hkansal
0
141
Member Avatar for stevnlon

Hi, im trying to get code that if seats are availabile on a bus, then a passenger may get on. For the code i have provided, when i run it ,passenger gets on at the correct stop, but never get off.....i.e. the first 2 passengers ride forever........ help! what am …

0
72

The End.