31,001 Topics

Member Avatar for
Member Avatar for ricordeon

hello guys im a newbie in programming pls. sdvice what java programming book should I buy. pls... for the newbie ^^

0
58
Member Avatar for sToXiC

Hello, I am working on a server-client app but I am facing a problem. The problem is that I don't know how to do unmarshalling properly. As an example. The client sends a request to obtain alist of existing blog records from the server. The server connects to the DB, …

0
41
Member Avatar for sellerjd

I'm resizing images (making them smaller) and am wondering if there is a programatic way to determine the variance of an image using JAI. High level, I want to be able to tell when I've scaled an image down so much that it no longer looks good. I understand that …

0
68
Member Avatar for nexus490

Hey all, i have written a short program which outputs a basic Histogram in this form: (0-25) *** (26-40) **** (41-75) ** (76-80) **** (81-100) ** I'm required to alter my solution so as well as that it also outputs it vertically so i'm after something like this: * * …

Member Avatar for nexus490
0
108
Member Avatar for chippanfat

Hey guys, in my programming assignment I need to split the mantissa and exponent and add them to two separate variables. so £1.88 would be [CODE] double amount = 1.88; //then after the conversion mantissa = 1; exponent = 88; [/CODE] I've looked at this a lot over the web, …

Member Avatar for jon.kiparsky
0
181
Member Avatar for nitins60

Hello friends, I have a Customer class (Parent class) and Member class (child class which extends Customer class). the coding is like this [CODE] public class Customer { String name; } public class Member extends Customer { int memberID; } public class Tranasaction { public void printTransaction(Customer customer) { if(customer.memberID …

Member Avatar for ~s.o.s~
0
155
Member Avatar for LianaN

Hi! I have a Java application that works with MySQL DB. Until today I used latin alphabet, but now I would like to extend my application to working with cyrillic alphabet. As far as I know, it is possible to use UTF-8. But I don't know the way, in which …

Member Avatar for LianaN
0
296
Member Avatar for Theformand

Hey all. I have a deadline tomorrow, and this thing is killing me, so I come to you with hopes of help. I have a couple of classes. An info class, which converts a string to ints and puts it in the [B]values[/B] array. Another class (plotter), is supposed to …

Member Avatar for Theformand
0
158
Member Avatar for shaz24

hello. I want to know if its possible to develop a mobile application using java language.

Member Avatar for peter_budo
0
59
Member Avatar for lokis

Hi, This is lokesh from india,completed B.tech (computer science). Right now looking for job. me positive thinking and very confident not over confident. my hubbies are playing chess and traveling long trips and love to make friends around world.

Member Avatar for AndreRet
0
183
Member Avatar for _neo_

Hello! I'm new in java. I need some help, guys. How can I determine in Java next run time of cron-like job? For example, if I have crontab entry without command, like [I]"*/15 * * * *", every 15 minutes "5 */2 * * 1", every Monday at 00:05, 02:05, …

Member Avatar for _neo_
0
3K
Member Avatar for Lxyslckr

The question is if x >=1 then i creates the array if not then it defaults x to 1. [QUOTE]Zoo has one constructor which takes an int as a parameter and uses it to instantiate the array animals to that size, and it also sets count to zero. It should …

Member Avatar for ~s.o.s~
0
138
Member Avatar for Ambislm

I have 3 combobox in my index.jsp file. I have filled first 2 combobox with data's from database... Now i have to fill 3rd combobox with the values which i have in java file such as: [code=Java]private static String[] types = { "Vehicle Reporting", "Vehicle Revisits", "RO - JDP Count" …

Member Avatar for Ambislm
0
211
Member Avatar for coco24

Hello all: The task is to: Create a row of Alien attackers, class RowOfAlien, patterned after the partially filled array. Put five Aliens in the row. When the row hits the left or right of the screen, the Aliens snake downwards (see demo). Note that this is different from the …

Member Avatar for coil
0
171
Member Avatar for ndkv

I have problem how to calculate mutiple checkboxes on the panel. ex: 24 roses with a bear: This costs $72 or 1000 points and $12. 14 Lilies: $24 or 360 points [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.border.*; import java.io.*; import java.text.NumberFormat; public class customerInfoGUI extends JFrame …

Member Avatar for quuba
0
1K
Member Avatar for nitins60

Hello friends, I am new to java and enum use. Actually I need to give only 3 options to customer for Payment Type. So i thought of using enum and making the limited members of Payment [CODE]enum PaymentType { CHEQUE, CREDITCARD, CASH }; public void Customer(String name, PaymentType paymentType) { …

Member Avatar for quuba
0
103
Member Avatar for adams161

I'm a little self taught at java. I have a package: package: package org.newdawn.spaceinvaders there's folders like org and newdawn are created and nested. the main is Game.java at end of those folders. How do i run it? i went to the end folder and typed java Game that didn't …

Member Avatar for adams161
0
87
Member Avatar for ems11

Hi i am in the final stages of my hangman program and need some pointers. I've gotten to a point where i am stuck and need a fresh pair of eyes to help me go over some of my problems any advice given will be greatly appreciated. [CODE]import java.util.*; import …

Member Avatar for jon.kiparsky
0
129
Member Avatar for shiftee

Hi all, I have a simple question that I can't find the answer to i'm using the following Exam.java (interface) ExamImpl.java (implementation) ExamFactory.java (interface) ExamFactoryImpl.java (implementation) The ExamFactory interface says the newExam() method return type is "Exam" The ExamFactoryImpl code currently returns "ExamImpl" Is this a problem?? i.e. Are Exam …

Member Avatar for JamesCherrill
0
279
Member Avatar for Sal Shah

PLEASE COULD YOU HELP ME IN CREATING A DOT GAME IN JAVA? ******************************************************* THIS IS MY ASSIGNMENT *************************************************** Design and develop an interactive visual 'stand‐alone' event‐driven Java application implementing the “Dots Game”. This is a two‐player game in which each player clicks in turn on a dot from a matrix …

Member Avatar for Sal Shah
0
112
Member Avatar for akinfemi

string.indexOf(letter) checks for the first occurence. what can check for all occurences public class Hangman extends ConsoleProgram { private static final int MAX_NUMBER = 9; private RandomGenerator rgen = new RandomGenerator(); HangmanLexicon lexicon = new HangmanLexicon (); private static boolean end; private HangmanCanvas canvas; private static int x = 30; …

Member Avatar for JavaDad
0
229
Member Avatar for DallasFan3

[ICODE]Ok, I am typing up a program in which will play hangman with a user. I have done most of the program, but I have to let the program randomly choose a word from the list of words stored in your array. Afterwards, it should clear the screen and display …

Member Avatar for JavaDad
0
406
Member Avatar for DallasFan3

Ok, Iam now doing my last assignment for my class. Thank god. lol Well I have to make a problem that will write an interactive Java program that allows the user to play the game of Hangman with words that are given to me from a file. Here is what …

Member Avatar for jon.kiparsky
0
613
Member Avatar for ajst

Hi, I'm trying to use JAVA GUI for first time. I've got a Jframe that when loaded adds a jpanel. the problem is it will not show any swing controls that get added to the jPanel. I'm using netbeans 6.9.1. any idea to why is happerning would be greatful [CODE] …

Member Avatar for JamesCherrill
0
3K
Member Avatar for rcogq7

* This program inputs ten integers and * displays the mode using parallel arrays. * Use a method to calculate the mode. This is my specs. I cannot figure out a solution as to how to find the mode using only two arrays. Help would be gratefully appreciated

Member Avatar for JamesCherrill
0
97
Member Avatar for ndkv

I have problem how to calculate mutiple checkboxes on the panel. ex: 24 roses with a bear: This costs $72 or 1000 points and $12. 14 Lilies: $24 or 360 points [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.border.*; import java.io.*; import java.text.NumberFormat; public class customerInfoGUI extends JFrame …

0
59
Member Avatar for mallak alrooh

Hello Friends I have This important question about implementing double link list I have done it but it dosenot work , please try to find what is wrong.. Thank you but I need this work queckly... [COLOR="red"]CLASS LINK LIST:-[/COLOR] [ICODE]public class LinkList { [I][/I] public class LinkedList<T> { private DoubleLinkList<T> …

Member Avatar for mallak alrooh
0
116
Member Avatar for reyarita

guys good day!! i need ure help with this problem. we are going to make a program. 1. Store first memory location og program into base register (for memory protection). 2. Set program counter (it keeps track of memory space used by the program) equal to address of first memory …

Member Avatar for reyarita
0
91
Member Avatar for urlstwohim

I have two classes.CyberLibraray and CyberBook These are the requirements: Design a CyberLibrary class which houses CyberBooks. Because of local laws, the CyberLibrary class has a limitation: the maximum number of books is 200. The CyberLibrary has the following constructors: Constructor #1: the default - Creates a CyberLibrary with the …

Member Avatar for urlstwohim
0
4K
Member Avatar for sivaprakashm

[code]abstract class foo { abstract void bar( ); // <-- this is ok abstract static void bar2(); //<-- this isn't why? } [/code]why can't I define an abstract static method?

Member Avatar for masijade
0
136

The End.