35,618 Topics

Member Avatar for
Member Avatar for rinky_gupta

i am trying to give a authenticated login and password to java programme..but still there is some problems occur...how can i do this

Member Avatar for verruckt24
0
63
Member Avatar for ezkonekgal

I have a problem: 1.) How do you insert a sequence of integers into a binary tree? does anybody have an algorithm for it? like input : 1, 5, 3, 4 ,2 binary tree: 1 5 3 4 2

Member Avatar for verruckt24
0
379
Member Avatar for ceyesuma

[I] Name: The name of this question is rookie_question_System.out.println [/I] [ICODE] Hello and Thank you in advance for any assistance. [/ICODE] [U] [B] Purpose: [/B] [/U] [B] The purpose of this code is figure the best way to get values of variables as they are changing(simplest way). [/B] [U] [B] …

Member Avatar for verruckt24
0
75
Member Avatar for justluck

Hi, anyone knows how to use java jmf to get the client side screen resolution? The server and client are setup already but i just dunno how to automatically get the client's screen resolution. Thanks !

0
43
Member Avatar for srs_grp

I have 3 tables . the tables are connected with Foreign keys I want to delete some records but as they are interconnected by foreign keys i have to delete all of the dependencies. how to do this?

Member Avatar for masijade
0
101
Member Avatar for jaiprakash15

Dear Friends, I am working on a project where i have a JSP page(ex1.jsp) and in that JSP page i have 2 frames((ex2.jsp on top) and (ex3.jsp in bottom))...When ex1.jsp is called..it has to load ex2.jsp frame and ex3.jsp by passing some paramenters to it.. Please see the code.. [code] …

Member Avatar for jaiprakash15
0
467
Member Avatar for tksrules

Hi, I have written the following code.I need to convert it to GUI. import java.awt.*; import java.applet.*; import java.awt.event.*; public class CompString{ public static void main(String[] args) { System.out.println("Enter two strings:"); BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Please enter first string:"); String str1 = bf.readLine(); System.out.println("Please enter second string:"); String …

Member Avatar for BestJewSinceJC
0
140
Member Avatar for peedi

when i run a program, and try to type in a decimal as input i always get an error? what can be the problem? should i use int or double? help!

Member Avatar for BestJewSinceJC
0
3K
Member Avatar for javaxprogrammer

Hi, I am new here. I have to display the images dynamically reading from a database. I have no problem displaying images. When i try to reduce the width in img tag then it is slowly rendering it. How to overcome this. [icode]<img src="image.jsp?imgID=112" width="150" heigth="130" border="0">[/icode] I am also …

0
54
Member Avatar for peanutmeister

I don't know what's wrong with the following code. I keep getting the error: ']' expected Why can't I use boardsquare[k] and set it equal it to a graphic? What am I doing wrong? Thank you so much for your time and suggestions! [code] int k = 9; Piece[] boardSquare …

Member Avatar for verruckt24
0
84
Member Avatar for disaster

Hi all, Im fairly (very) new to coding. now I have this school project I need to do for IT which is due tonight. Basicly what I have to do is count the amount of words and letters in a string using what we know, which is not much... What …

Member Avatar for verruckt24
0
125
Member Avatar for weblover

hi all..i have a question ..and need help please... i have this applet code and i don't know how to use applets ....so i want to put this code in a single class if it can be made..coz i don't know anything about applets...and i want to join it with …

Member Avatar for weblover
0
150
Member Avatar for jacline

Add an interface, SizeComparable, that includes only the boolean isBiggerThan( Shape other) method. In your ShapeSet class, provide a method void sort(), that sorts the shapes of the shape set by class Shape implementing the SizeComparable interface. This is the problem I wrote codes but it gives run-time error.Could you …

Member Avatar for jacline
0
211
Member Avatar for blackrobe

Hi there, I'm writing a function to compare strings from two lists, but I'm facing problems comparing the two strings in an easy straightforward way due to my lack of knowledge in Java. I use Python more often which is way easier than Java in string manipulation and comparison. My …

Member Avatar for JamesCherrill
0
143
Member Avatar for xlx16

hi guys i have a couple of Qs. 1.what is javadoc and how it works? 2.what [B]Strong typing[/B] means? 3.if we want to control the input ,it is better to use exeption handeling (try chatch),or a single is to control the worng input, whitch one is faster? 4.look at the …

Member Avatar for stephen84s
0
142
Member Avatar for hatemstar

Hi Everyone , Here JApplet Example of my own coding , I have do this for My first Assignment on Java Programming Course .. The Idea of Assignenemt is to Allow the user to enter the number of days that he want to collect it's Temoreature .. Then It start …

0
68
Member Avatar for peanutmeister

I am having a problem with my code (see below). The problem is with the line whitePiece[0].setX(boardSquare[j].getX); and the one below it (towards the bottom). Can't I use whitePiece[] and boardSquare[j] as variables? I can't figure out how to write this any other way. boardSquare is a variable from another …

Member Avatar for BestJewSinceJC
0
97
Member Avatar for retrob89

Hi, I've attached the code I have that deals with allowing a user to have access to the main menu. When adding a new user, the username and password is saved to a text file. However, I want to add a default username and password so when a user runs …

Member Avatar for BestJewSinceJC
0
154
Member Avatar for peedi

hello im kinda of stuck doing a project for my class. ik really need help with number 1, and 4. please help! here is what i have to do. 1. Use the charAt method to get the first character in firstName and store it in a variable called firstInitial (you …

Member Avatar for peter_budo
0
1K
Member Avatar for ceyesuma

[I] Name: [/I] The name of this question is bundled_resources [ICODE] Hello and Thank you in advance for any assistance. [/ICODE] [U] [B] Purpose: [/B] [/U] [B] The purpose of this code is to change the label of a commandButton by hijacking the resource bundle functionality and setting the label …

0
38
Member Avatar for redZERO

Hi I am having problems with BufferedImage. What i would like to do is create a bufferedimage from an image stored on the hard disk. For example, i create a new file pointing to this image file. From this I would like to create a BufferedImage.

Member Avatar for peter_budo
0
65
Member Avatar for Hugers

[B]I am new to this coding world. Recently I have started with Turbo C/C++. What next should I go for c# or java? Are their any online tutorials available through which I can start by myself?[/B]

Member Avatar for Rashakil Fol
0
164
Member Avatar for ceyesuma

[code] [/code] Hello I have a couple classes here and a resource bundles and a JSF that sends the key to the class (MessageProvider) and MessageManager.java gets the resource for the selectOneMenu component label. I would like to change the label on the submit button depending on the choice from …

Member Avatar for ceyesuma
0
103
Member Avatar for kiel19

I have a stand alone application In Vb that I would like to redevelop it using Netbeans such that it can run in server based environment. The Objective is to have it run on a network where I have clients who work from different stations but printing and storage of …

Member Avatar for c0dex
0
117
Member Avatar for charlie81

I know I am missing something when I try to run it it says that it doesn't contain a main type. I am probably missing something really easy but here is what I have. public class Cube { public static void main() { double height = 3.0; double cube_volume = …

Member Avatar for javaAddict
0
90
Member Avatar for manfosys

Hi im new to this forum.I need to extract specific html tag data from html webpage using java.for ex from <img src="http://google/sample.jpeg"> this tag i extract only [url]http://google/sample.jpeg[/url] by using java.similar to all html tag.Plz give sample source code. Thanks in advance.

Member Avatar for sillyboy
0
102
Member Avatar for AntMastr

I am having trouble starting a program that needs to sort arrays. I need to have the user input the number of employess -which will set the number of arrays, then the user will enter differnt values into each array which should be private, such as name, age, salary, number …

Member Avatar for stephen84s
0
83
Member Avatar for eD_2525

Hey Everyone! My name is Ed and I am new to programming and your community. Thanks for the warm welcome and I hope you can follow me with my coding problems. My code is for a project that simulates a simple vending machine. When the program is run three buttons …

Member Avatar for BestJewSinceJC
0
728
Member Avatar for c0dex

Hey all, for quite some time I've been working on an inventory management program for work, and I'm having a bit of an issue with the rendering of a JFrame notification window, I'll do my best to explain below (including screenshots). So my program works with a remote FTP server …

Member Avatar for JamesCherrill
0
201
Member Avatar for charlie81

I think i have everything write except for the Input statements. It is telling me that JOptionPane can't be resolved. Here is what I have so far. public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber; String …

Member Avatar for charlie81
0
192

The End.