36,051 Topics

Member Avatar for
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
166
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
210
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
129
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
268
Member Avatar for tllcll

Hi, I would like to open a hidden popup window to pass value when user enter the value on the textbox. The popup window will perform operation that call the javabean to retrieve values to be displayed on the form that open the window. how to pass values from popup …

Member Avatar for tllcll
0
126
Member Avatar for wildwind

Newbie here, First of all, hi to everyone :) I've been scouring the net trying to find answers to problems I've been having with browsing, and I do hope the answers are here... I can't seem to adjust my system correctly so that I'm able to view all web pages …

0
53
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
99
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
99
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
133
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
323
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
196
Member Avatar for mrain01

I was advised by Crunchie to remove MyWaySA, and Freeprod toolbar I followed the procedure and re-ran HJT. Log below. I do not see any sign of lockx.exe, msdirectx, or hacktool.rootkit. Can I assume they are gone? Thanks Logfile of HijackThis v1.99.1 Scan saved at 11:40:35 PM, on 10/17/2005 Platform: …

Member Avatar for DMR
0
155
Member Avatar for dynasty191

I got this virus and its affecting IRC too... Its pming people spamming this virus around. The files that im pretty sure are it are a .pif located in C:\ and 2 .zip files named tcn.zip and Norton.zip in my Temparary Files folder. I tried deleteing all the files with …

Member Avatar for dynasty191
0
108
Member Avatar for AMOSSIOU

Dear all, I have read the threads before regarding the removal of that trojan, but I don't seem to have anything like that. Please let me know if you see anything on the Hijack this log that follows: Logfile of HijackThis v1.99.1 Scan saved at 11:44:29 AM, on 10/17/2005 Platform: …

0
49
Member Avatar for jaxy
Member Avatar for jwenting
0
158
Member Avatar for mrain01

I ran HJT on Sat based on DMR request. I haven't had any more alerts by Norton. Don't know if I still have problem. Problem might have been associated with lockx.exe, but I dealt with that separately, using AIMFIX. AIMFIX worked in quaranteeing lockx.exe. Is there more I should do? …

Member Avatar for crunchie
0
152
Member Avatar for tllcll

Hi, I would like to know how to assign and display the value to a column name 'item_name' in first.jsp I have 2 jsp pages - first.jsp , second.jsp. The first.jsp will call the second.jsp and pass in the value. In the second.jsp, I will call the method in the …

0
75
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
131
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
544
Member Avatar for phani8123

1) i have written and compiled the EJB server programs in package - statedemo but on generating the deployement descriptors using weblogic builder iam getting an error saying : no j2ee component installed.plz tell me what it means and what to do to run the program 2) with the xml …

0
71
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
184
Member Avatar for maya_cs

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

0
91
Member Avatar for teton

I came across this site and followed previous instructions from another javascript thread to no avail. So hoping you can help. IE6,XP,have Spybot, CWSShredder,Spysweeper, and just installed Spyware Doctor. Active Scripting is enabled, tried control/shift,downloaded Windows Script 5.6 I still can't get links to open that use javascripts--this started after …

Member Avatar for catchsatya
0
593
Member Avatar for suhabassam

Hi all, I am trying to check String field if it is null or not to excute some commands. But it is not working ... any help pls ?? String foryear = request.getParameter("foryear"); String decreeno = request.getParameter("decreeno"); I've tried to use : if (decreeno.length() > 1) sqlstr = sqlstr + …

Member Avatar for jwenting
0
113
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
178
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
91
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
69
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
93
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
118
Member Avatar for tejtan

well hi guys new to the forum and i need some help im writing a program where a guest’s name is entered and then assigned to a room. The motel has three floors and 30 rooms thus im using a 2D array (arr[3][10]) its supposed reserve a room and the …

Member Avatar for NPH
0
120
Member Avatar for elec

Ok, I need to make a program that will let the user enter a sentence. then find all of a certain word (and) and print out the count of how many times that word was in the input. I would like to do this in a while loop. Not sure …

Member Avatar for jwenting
0
71
Member Avatar for hsharma65

i made the following jsp file <%@ page import="mybeans.NameBean" %> <jsp:useBean id="pageBean" class="mybeans.NameBean" scope="page" /> <jsp:setProperty name="pageBean" property="*" /> <jsp:useBean id="sessionBean" class="mybeans.NameBean" scope="session" /> <jsp:setProperty name="sessionBean" property="*" /> <HTML> <HEAD> <TITLE> The UseBean JSP </TITLE> </HEAD> <BODY BGCOLOR=red> <H3> Welcome to the UseBean JSP </H3> <P><B>Page bean: </B> <% if …

0
86
Member Avatar for Chipsncoke

I have a file I am trying to read, to get a value that i will be needing as input. [CODE]([KB_175346] of String (name "classes_file_name") (string_value "sample1.albs"))[/CODE] I need to read the value called sample1.albs into another string which i give as an input to another program. [CODE]String file = …

0
78
Member Avatar for djm123

Get DNS errors>>>Any ideas on this javascript:scrollWindow('techpop.asp?id=262',%20'popupWin') ????

0
55
Member Avatar for Andrew Minus

Hi there, I was thinking about which[U] program design methods is better[/U] than any other methods.But, i am interesting Jason's Structure Diagram more than others . !!

Member Avatar for jwenting
0
112
Member Avatar for Kamikazi23xl

I just switched from c++ to java and i am completely clueless :o . My friend gave me a BlueJ program which is supposed to make it easier but i am still just as confused :rolleyes: . Does anyone have any good online sites i can go to get me …

Member Avatar for jwenting
0
158
Member Avatar for Andrew Minus

Hi, The ISP in my doesn't allow any email web sites to view/open.Some people said there is about two or three ways to solve to enable to view these sites . So , if u've known about this, please tell me. ^_^

0
67
Member Avatar for bondito

[COLOR=Blue]I am a final year computer science/networks student, i am going to hand in my final year project, and i was thinking of creating an online learning system which would include a database for storing student and staff details. Please i need ideas on what i can add to my …

Member Avatar for freesoft_2000
0
273
Member Avatar for topaz

Hi,i am a computer science student and i was thinking of creating an online chat system for students in my uni as a final year project, i really need ideas on how i can go about my project, especially with the design, i am planning to use java socket programming …

Member Avatar for freesoft_2000
0
79
Member Avatar for shad

Hi there, i was thinking of creating an e-mail communication system witha GUI using java. I am planning to bas my final year project on this idea. Please if you have any ideas in relation to e-mail communication please share it with me. I will really appreciate any help given …

Member Avatar for freesoft_2000
0
96
Member Avatar for kharri5

I am trying to do a Java GUI game of dots and boxes, and I need to make the bounds for detecting whether or not the mouseMoved that the person made was in the bounds of the top, left, bottom, or right of a box. I refer to each box …

Member Avatar for kharri5
0
127
Member Avatar for shad

Hi there, i was thinking of basing my final year project on file sharing between clients through a server or text message communications between clients. I really need ideas on how i can go about designing and implementing a project based on my idea. I will really appreciate any ideas …

Member Avatar for server_crash
0
203
Member Avatar for NewVBguy

Hi Everyone, I am really new to cf and I am trying to understand this software. I am trying to setup my dsn. now when i try to go to cf administrator and select data source option, it pops up an error message that there is no java virtual machine …

Member Avatar for jamba
0
160
Member Avatar for stupidenator

Hi everyone, I was just curious if it is possible to put a jar in a jar file? thanks for your help. Nick

Member Avatar for paradox814
0
60
Member Avatar for Rete

Hi, I was wondering if anyone could help me with a problem I'm having in Java regarding Regex. All I'm trying to do (this is being dumbed down a bit) is scan a file, for specific text, and print it out. I'm trying to use regular expressions, but for some …

0
85
Member Avatar for sintesia

I developed some applets that at a fixed interval, say 1 second, update a value on the page. The pages with the applets are displayed in a frame, and the frame page structure has one frame on the left, with the menu links, one frame on the bottom, with another …

Member Avatar for sintesia
0
197
Member Avatar for mahes_

hi ...I am tryin to do this methods homework...I have to have a system.println for a void method..I know u cannot have a return for void method..but can u have a system.println in the main method for the helper void method?

Member Avatar for mahes_
0
6K
Member Avatar for dcaporaletti

Hello. Can anyone help me get rid of this! Upon booting up in Windows XP, Norton shows a meesage that this virus has been detected. Heres my highjack this log file. Any help would be greatly appreciated. Logfile of HijackThis v1.99.1 Scan saved at 10:31:14 PM, on 10/4/2005 Platform: Windows …

0
90
Member Avatar for Shon05

I have a fortran program where I am suppose to write a set of java classes that implements some accounts and the required transactions and a main test program that exercises the classes based on the specified information we have. I can't put all the info up here bc it …

Member Avatar for Shon05
0
156

The End.