36,051 Topics

Member Avatar for
Member Avatar for iamthwee

Hello everyone. At the moment I'm compiling all my .java files in the same directory where the javac program is. I know this is a bad idea. How do I link it from the command line and let's say export the .class files to another directory of my choice. ThanQ

Member Avatar for chrisbliss18
0
148
Member Avatar for dgrblr

I have created two GUIs with netbeans. I simply do not know how to call them to display on the screen. I'm sure it's simple, but I must not be understanding properly. I created the GUIs as JPanels and all they have on them right now is some labels and …

Member Avatar for dgrblr
0
168
Member Avatar for buggytoast

Hi everyone! (it's been awhile XD) I've gone and done my homework. And here I am with a program that works...pretty well I think. There appears to be a problem with the saving/loading. Originally it worked without a problem, but when I attempted to make it more graphically friendly (when …

Member Avatar for buggytoast
0
147
Member Avatar for parvin1987

hello I,ve wrote a program but it doesn,t work correctly please help me i want to sort some strings based on the number that should be entered at first of each string for example the strings that you enter should be in this form: 12_hello it means you should enter …

Member Avatar for iamthwee
0
111
Member Avatar for moon_light

i am new here and i have this Q to solve it plz help me Using class stack, write a program to read an expression and checks if the symbols : the parentheses ( ), square brackets [ ] are balanced or not. For example : (a+b-[c+d)] is not balanced …

Member Avatar for iamthwee
0
113
Member Avatar for webmasts

Hi, I'm creating a palindrome program. So far, I got that part. Now, I need to find out if the length of the integer (string) is less than 5 digits. If the length is less than 5, then don't proceed with the program. Please give your suggestions. Basically, what I'm …

Member Avatar for iamthwee
0
325
Member Avatar for gokul

Hai all, I am new to all.. Currently i am doing a "Video Conferencing" project in Java which implements SIP and JMF.. but i didn't know how to interact SIp and JMF in J2EE..? could any one help me..? pls give the related informations or links.. Thanks Regards, Gokulakrishnan.M

Member Avatar for metamit
0
106
Member Avatar for osean

hi, i created a listbox[code] List list = new List(); list.addItem(".....:P"); list.addItem("...:("); add(list); list.makeVisible(1); setVisible(true);[/code] how can i make the listbox enabled (readable, but not disabled), so the user can't select anything from it? also, does anyone know of any good sites with full tutorials for beginners, for java?

Member Avatar for Dark_Omen
0
112
Member Avatar for iamthwee

How can I put this? Is generics only supported by the very recent versions of java? If so... Does that mean if I use it, it might not work for people who have older versions of the JVM, or java plugin or whatever it is?

Member Avatar for jwenting
0
108
Member Avatar for x19dotnet

Hi friends. i'm having problem to get values of a class member variable which itself is a class and resides inside another class as an array. Parent class is CA. its one of the member is CB[] class. my problem was to get values of CB class. following is the …

0
91
Member Avatar for hbmarar

hi, It wud be great if any one of you could let me know or share with me a sample code or how to in finding out the intersection of two arcs and plotting it. I cud not find any useful info on the Net thru search Reqeust your concern …

Member Avatar for iamthwee
0
113
Member Avatar for bharatkaza
Member Avatar for Kiba Ookami

In VB we could export all the code and make a standalone executable file. I was wondering how you did that in java with console/jframe based programs? I understand that an applet would have to be in a pages HTML, but as for the other types of applications, how are …

Member Avatar for server_crash
0
90
Member Avatar for fdrage

which method in the ResultSet that will return the number of column in a table? I'm not entilry sure but i think its the getFetchSize() However on the API it says that : [QUOTE]"Gives the JDBC driver a hint as to the number of rows that should be fetched from …

Member Avatar for fdrage
0
112
Member Avatar for freesoft_2000

Hi everyone, I find something very odd. When i use the runtime class to run javac in 1.4.2 the console window does open but when i do the same in 1.5 the console window appears. Why is this so. Am i missing something? Yours Sincerely Richard West

Member Avatar for jwenting
0
187
Member Avatar for Dinosaurdave

I'm trying to find the best way to find out when a fiile was last modified and if it hasn't been modified in the last 7 days move it to a certain folder. At the moment i'm reading in the files using a "for" loop, storing them in an array …

Member Avatar for freesoft_2000
0
91
Member Avatar for traianosg

I would like to know the exactly procedure of build an applet.What tools should i use?

Member Avatar for server_crash
0
43
Member Avatar for Sheki RDH

hai, i need some help in developing a simple calculator! i've finished the front-end part using jigloo software but the problem is when i click the first number,that number will appear in the textfield after that when i click the '+' button the textfield is clearing but i'm not able …

Member Avatar for iamthwee
0
160
Member Avatar for zbx888

I want to use Javascript to validate user input for last name and first name by regular expression and just allow usa alphebetical letters plus space, apostroph and hyphen such as O'Neill and Lacova-D'elia. How to write regular expression to validate user's input? Thanks a lot! :rolleyes:

Member Avatar for masijade
0
59
Member Avatar for webmasts

Hi, I'm creating a palindrome program. So far, I got that part. Now, I need to find out if the length of the integer (string) is less than 5 digits. If the length is less than 5, then don't proceed with the program. Please give your suggestions. Thanks!

Member Avatar for webmasts
0
128
Member Avatar for static

Hi , I'm studying about java security and I'd like to see some coding written about Security .Plz help me.... 10 q very much ....

Member Avatar for iamthwee
0
36
Member Avatar for Sheki RDH

hai everyone, i have created a menubar having menu items - New, open ,save , exit. Now when i click on the New (menu item) i want to display a TextArea & after that what ever the data that the user has entered it has to be saved when the …

Member Avatar for Phaelax
0
61
Member Avatar for ickytor

I've gotten rid of some things but I've still got problems and don't know what to do next. Logfile of HijackThis v1.99.1 Scan saved at 8:40:41 PM, on 3/26/2006 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\csrss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\System32\Ati2evxx.exe C:\WINDOWS\system32\svchost.exe …

Member Avatar for 'Stein
0
115
Member Avatar for Tigerdude

I'm trying to write a program that uses a DIMACS Graph input, and do several diffent things with it. I've got most of the methods working except one: An all-pairs shortest path that uses Floyd's Algorithm. I've written it a couple times, and it works sometimes, throws and exception sometimes, …

Member Avatar for AstroNox
0
140
Member Avatar for xgmx
Member Avatar for mjm203

I am including my HJT log. I have ran the fix by Norton and it wont fix it. Could someone tell me if I have a "nasty" that doesn't let Norton update function? Logfile of HijackThis v1.99.1 Scan saved at 10:33:00 PM, on 3/24/2006 Platform: Windows XP SP2 (WinNT 5.01.2600) …

Member Avatar for D3m3nt3d
0
133
Member Avatar for sam1

hi everyone, I was wondering does the eclipse ide support debugging. For example in netbeans if you have a bit of code you can go through it line by line and if you have an error say in line 5 the debugging stops at that point :lol: thank you

Member Avatar for AstroNox
0
132
Member Avatar for cazaletm

This is my first time dealing with file I/O and need help figuring out the best way to read in data and store it for further manipulation. I have a file that contains an individual's salary, and 3 product ratings on each line, such as: 75000 01 05 09 What …

Member Avatar for AstroNox
0
101
Member Avatar for winbatch

If I have a swing app where I have 3 JPanels inside the content pane. By default, it makes it so that all 3 panels take up 33% of the overall size of the app. I would like to make it so that the first panel takes up a smaller …

Member Avatar for jwenting
0
257
Member Avatar for warriorone357

This program is working fine except it is suppose to give me the total of all the money inputted when option 4 is selected. It is only giving me the last amount that was inputted when option 4 is selected. Can someone give me a clue about what I am …

Member Avatar for jwenting
0
79
Member Avatar for ladyd33099

Hello everyone, I'm at a loss. I've been trying to add a couple of images to my mortgage loan program for class. Everything I try either doesn't work or blanks out the screen. Any help would be appreciated: /* * Author: Diana Salisbury * Week: 4 * Date: March 20, …

Member Avatar for server_crash
0
120
Member Avatar for peaston

I need to write/find a jsp script that would go to the following url and retrive the xml it generates and display an images for whatever the value is. url: [url]http://www.dhs.gov/dhspublic/getAdvisoryCondition[/url] what it returns: <?xml version="1.0" encoding="UTF-8"?> <THREAT_ADVISORY CONDITION="ELEVATED" /> What I would like is a way to read the …

0
60
Member Avatar for favorlove

I have a homework assignment that l started, but l ran into problems. Could you please look at my code and help me. The topic is as follow: In this exercise, you will study the effect of several parameters used with RR scheduling. To solve the exercise, you will need …

Member Avatar for favorlove
0
183
Member Avatar for ladyd33099

Hello everyone, I'm at a loss. I've been trying to add a couple of images to my mortgage loan program for class. Everything I try either doesn't work or blanks out the screen. Any help would be appreciated: :-| /* * Author: Diana Salisbury * Week: 4 * Date: March …

Member Avatar for iamthwee
0
149
Member Avatar for lync_yc

my problems not that huge...for example,, if i use inheritence... i create static newstudent current; in public class EnterSP and i write public class Backstroke extends EnterSP does current work in the Backstroke class? coz...ive got null pointer exception... i need help ASAP... or maybe if anyone could have a …

Member Avatar for lync_yc
0
199
Member Avatar for nisaa15

HI, Im relatively new to XML and was wondering how I could use DOM to produce a "per shop" report showing a list of the items available in the given shop (shop 1 first then 2), the item description, stock level and calculate a total value of the stock level …

Member Avatar for divvis
0
140
Member Avatar for shahnazurs

Please let me know apparantly what is thread? what is the use of thread and where (in which scenario) we have to use this? If possible send a document which helps me in walking freely on thread :-|

Member Avatar for jwenting
0
56
Member Avatar for Sheki RDH

Depending upon the option selected in the combobox how can i display that option in a textfield .I'm using Jigloo software for creating GUI PLEASE HELP!!

Member Avatar for jwenting
0
66
Member Avatar for Phaelax

The probably isn't the parsing actually, I can't even get to that part yet. The webpage uses a different character set, "windows-1252". But even after setting the reader to use that charset (which exists in the system), I still get the ChangedCharSetException. [code] String link = "myurl.com"; URL url = …

Member Avatar for Phaelax
0
366
Member Avatar for x19dotnet

hi everybody, i'm new in weblogic workshop/JSP/jpf..... please help me out for the following problem. i need to pass an Object-Array to next page. i've 2 classes - ExamForm, Question i've 2 jsp pages - TakeTest.jsp, PreviewTestAnswers.jsp i've 1 pageflowcontroller - StudentController.jpf in .jpf i've following action methods - TakeTest(), …

0
69
Member Avatar for Phaelax

The object I use to create a Transferable object with is the same object I should get on the drop component, right? All I want to do is drag a row from one JTable onto another JTable. I don't want to copy the data, only send index number of the …

0
77
Member Avatar for nawal

hi, I want source code to work send data from pc to another pc using telephone(modem). thank you.

Member Avatar for Phaelax
0
114
Member Avatar for x19dotnet

please help me out. i've one class named Exam whose members are Question[]. i've another class named Question whose members are: QuestionID, QuestionText,ChoiceA,ChoiceB,Answer. i've 2 jsp pages named: 1. TakeTest.jsp 2. PreviewTestAnswers.jsp TakeTest.jsp displays all questions (with Text, Choices) under one Exam. PreviewTestAnswers.jsp will display same Questions with Answers. i …

0
57
Member Avatar for Red Baroness

Just a new member, nuttin special. Figured I'd do the intro thingy. Thanks to Daniel for the neat format to do so. Name: Red Nickname: Shorty (haha), Boobies (grrr), "The techie" Height: 5'5" Weight: *syntax error: Abort, retry, fail* Hair: Dyed cause I'm going gray Eyes: moss green Location: Shore …

Member Avatar for Red Baroness
0
152
Member Avatar for hemanthjava

I am using Apache Tomcat I got the following error when invoking a jsp. type Status report message HTTP method POST is not supported by this URL description The specified HTTP method is not allowed for the requested resource (HTTP method POST is not supported by this URL). My 2 …

Member Avatar for jwenting
0
1K
Member Avatar for csaha

Hi Python Experts [B]I need to convert a code written on JAVA/JSP (Java Tags are also there inside JSP) to PYTHON. [/B] I have OK kind of knowledge in PYTHON, but dont have a muck knowledge in JAVA/JSP. Any idea how to approach? I am having tough time to achieve …

Member Avatar for G-Do
0
1K
Member Avatar for tazaramya

This script works in ie but NOT Firefox. Can someone help me make it work in both. Script just creates and rotates the url that it uses. :mad: <html> <head> <title>Corvallis Calendar - Home</title> <SCRIPT LANGUAGE="JavaScript" type="text/javascript" > <!-- // var myDate = new Date(); var myMonth = myDate.getMonth(); myMonth …

Member Avatar for Nilesh Pagar
0
136
Member Avatar for k_satish0101

i 'm getting the date in [B]dateField[/B] variable after entering the code for converting the date into Simple Date Format java.util.Date datefield2 = new java.util.Date(request.getParameter("dateField")); java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("EEEE,dd MMMM yyyy"); GregorianCalendar startDate = new GregorianCalendar(datefield2.getYear()+1900,datefield2.getMonth(),datefield2.getDay()) String reqdt=sdf.format(startDate.getTime()) i 'm not getting the exact date which i entered in …

Member Avatar for Nilesh Pagar
0
152
Member Avatar for csaha

Hi Java Veterans [B]I need to convert a code written on JAVA/JSP (Java Tags are also there inside JSP) to PYTHON. [/B] I have OK kind of knowledge in PYTHON, but dont have a muck knowledge in JAVA/JSP. Any idea how to approach? I am having tough time to achieve …

Member Avatar for freesoft_2000
0
107
Member Avatar for teman_siber

hi, can anyone help me how to store the image in oracle using JSP. plz...urgent.. can anybody give me the sample codes.. thanks

Member Avatar for jwenting
0
81

The End.