31,001 Topics

Member Avatar for
Member Avatar for yupiii

hello everyone, :) I am new here, and first of all, I let you know that I was just read the rules of this forum and I agree with all of them... so, my question is about a homework, but I am determinate to do a good job and put …

Member Avatar for cheenu78
0
164
Member Avatar for jeni_4

I have a JFrame , and to one of its button 'done', I wish to add an ability to close the window...ie on clicking done this window should close. jen

Member Avatar for hooknc
0
96
Member Avatar for nishad

hello, im doing a project on email account which must include at least 2 constructors, a finaliser, a display `method()`, a menu that allows to test all fuctions of the class and a `main()` i got the attributes of email : address, password, currentName, noOfmails and the methods are `logine(), …

Member Avatar for jwenting
0
151
Member Avatar for OllieFalle

Hi everyone i hope you are all well. This is my first time using this site so bear with me if i make any horrible mistakes. At the moment i am trying to wirte a programme that takes the user input as a string and breaks down the string with …

Member Avatar for Gargol
0
82
Member Avatar for lain

i need to write a simulation of CPU scheduling. The operating system must select one of the processes in the ready queue to be executed. i have real problems understanding what the professor wants in this program, can anybody here help me develop some pseudocode for the logic behind this …

Member Avatar for alc6379
0
441
Member Avatar for nabakishore

i'm using mandrake linux 10.0 . i have installed java compiler successfully. but when i'm trying to use the comand "javac" it is not working. the following are the typical outputs plz help......... [nabakishore@10 Clock]$ ls Clock.class Clock.java example1.html [nabakishore@10 Clock]$ javac Clock.java bash: javac: command not found [nabakishore@10 Clock]$ …

Member Avatar for jwenting
0
250
Member Avatar for freesoft_2000

Hi everyone, I have submitted a RFE at sun to make JavaMail Part of J2SE so please vote for it if you want it to be part of J2SE Here is the link [url]http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6330014[/url] Thank You Yours Sincerely Richard West

Member Avatar for jwenting
0
69
Member Avatar for gurneks04

hi m a student and advance java in my course. and i have to make a project in java but i have no idea about the project in jdbc,jsp please any one have a project in java jdbc or jsp not a big project just minnor project please tell links …

Member Avatar for jwenting
0
106
Member Avatar for zee15

ok this seems so simple, yet i cant get it down into code. i want to do the following methods non-recursively. here is what i have so far. any help would be appreciated ASAP. thanks public boolean insert (int val) Inserts val into the binary search tree. public boolean member …

0
60
Member Avatar for trashed

hi. my problem is plain simple but still i couldn't make it out. it's all very basic stringwork (keyboard input, println, ...) but when I get to the point of writing the output file, nothing happens: the text file is created but remain completely blank. this is my code: [code] …

Member Avatar for cheenu78
0
172
Member Avatar for mahes_

I have a lab work on File input/output...I have to put in 12 names under the file name names.txt..and subdivide the names into small.txt(if the length of the name is below or equals to 5) and large.txt(if the length of the name is more then 5..)..I have done a source …

Member Avatar for mahes_
0
161
Member Avatar for Ghost

Hi Everybody! I'm trying to create my own web accelerator/browser. When you open a page, it will take all the links on that page and preload them. I just have one question: how do you retrieve HTML source code of a page and how do you parse that huge string …

Member Avatar for jwenting
0
206
Member Avatar for freesoft_2000

Hi everyone, I have a JTextPane with some styled text in it and i am trying to scale them. What i mean is that assuming that the text inside the JTextPane on startup is a 100% in size. After i click some JButton all the font size of the entire …

Member Avatar for freesoft_2000
0
126
Member Avatar for sam1

hi all I am trying to make a server and client side instant messenger in java. Now I was thinking is there a way to make a database in the server where I would keep thier usernames and passwords. Then I would have a button in the client side where …

Member Avatar for leelee
0
266
Member Avatar for N17scj

Hi, Im new to programing in java and i am having an extemly hard time comprehending and writing code, so if anyone could please help me on a java problem that i have it would be greatly, greatly, appriciated. The question is as follows: *Write a program that will calculate …

Member Avatar for server_crash
0
96
Member Avatar for blackbabydoll

I just did the syntax for my program but the error I keep getting is that that java.io is not read. [CODE]import java.util.*; public class EnergyConverter { //main(): application entry point public static void main(String[] args) { //get option and numbers int Option = 0; double Amount = 0; double …

Member Avatar for blackbabydoll
0
96
Member Avatar for glamo

hi to everyone , i have to make a program in jav which will fulfill following conditions. first of all, i have to make a any alphabet by free hand drawing like in ms-paint there is a pencil so by using that suppose i am writing a ,b,c or anything …

Member Avatar for wally_lawless
0
127
Member Avatar for MonkeyCode

Or rather, my program does. I'm supposedly revising someone else's working code, but the stuff I compile doesn't do quite the same thing the packaged version they did... not sure whether it's a version difference, or a compiler difference (I used both JDK 1.3.1 and JBuilder 2005) or a computer …

Member Avatar for MonkeyCode
0
317
Member Avatar for brian63304

I have this code and I am trying to input numbers so I can sort them. Could someone help? Code: class ListSortExample { static class Node { int val; Node next; Node(int v, Node t) { val = v; next = t; } } static Node create() { Node a …

Member Avatar for brian63304
0
186
Member Avatar for jaxy
Member Avatar for jwenting
0
155
Member Avatar for freesoft_2000

HI everyone, Let's say when i connect to a ftp do i have to worry about something called type. I mean for example let say when connect to an ftp as such [code] URL url = new URL("ftp://user:pass@ftp.fileplanet.com/polo.zip"); [/code] Do i have to worry about something called type as such …

Member Avatar for jwenting
0
124
Member Avatar for riabear123

Here is the program requirement and I need the most simple method since i am a beginner and this is what i have so far import java.util.Random; class Lotto { public static void main (String[] args) { Random r = new Random(); int mynums[] = {6, 25, 31, 15, 42}; …

Member Avatar for riabear123
0
540
Member Avatar for karen_CSE

hi, I'm a first-level java learner, so my questions might seem really basic. but I don't really have a clue as to what I'm doing wrong. Can you guys please help out? I'm supposed to write a program that ask the user to input their email address. and The first …

Member Avatar for hooknc
0
181
Member Avatar for maya_cs

hi every body can any one read image via java then use filters low & high pass filter

0
89
Member Avatar for Dark_Omen

Hello, I am having a problem with %. I am trying to find all the years from 1628 to 2005 that are divisible by 15, so I did this: [CODE] if((year % 15 == 0) || (year % 100 == 0) || (year == 2005)){ System.out.println("Print something"); } [/CODE] So …

Member Avatar for Dark_Omen
0
170
Member Avatar for stackOverflow

Hello everyone, I'm very new to java applets.. and wanted to know how do i run an applet. I've written a simple program.. but have no idea how to run it. Plz help! :o

Member Avatar for server_crash
0
88
Member Avatar for Decency

Hi all, i was wondering if i can find free vedio tutorials about java for beginners who doesn't have programming experience nor they understand the O.O concept?

0
66
Member Avatar for userb

hi, if some site uses this code [PHP] <script language="JavaScript"> var url = "http://www.aaaa.com"; var wh = 'width=250,height=250'; var time = 10; ////////// var winopop; window.onload = function(){ winopop = window.open(url,'news',wh); winopop.focus(); window.setTimeout(function(){winopop.close()},time*1000); } </script> [/PHP] they can open the site [url]http://www.aaaa.com[/url] in a window for 10 sec and then …

Member Avatar for jwenting
0
90
Member Avatar for jakeday

Hi, I'm currently writing a basic program (only been using Java for 3 weeks), and am trying to locate the "index position" of the first number in a string. For example String = "slow by 10.40s" or "fast by 1m2.2s" and want to use a method that returns me the …

Member Avatar for server_crash
0
3K
Member Avatar for young

I need to create a JAVA Class TicTacToe program. There are API doc of the class TicTacToe and TicTacToeApp.java which program control TicTacToe game play. Would you please tell me how to write the Java Class program. Thanks a lot! TicTacToeApp Java Program as shown below: /** * TIC TAC …

Member Avatar for NPH
0
114

The End.