36,051 Topics
![]() | |
![]() | 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 |
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 … | |
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 … | |
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 … ![]() | |
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 … ![]() | |
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 … ![]() | |
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 | |
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? | |
![]() | 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? |
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 … | |
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 … ![]() | |
In struts can we write our Action Servlet? | |
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 … | |
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 … | |
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 | |
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 … | |
I would like to know the exactly procedure of build an applet.What tools should i use? | |
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 … ![]() | |
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: | |
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! | |
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 .... ![]() | |
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 … | |
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 … | |
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, … | |
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) … | |
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 | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 :-| | |
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!! | |
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 = … | |
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(), … | |
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 … | |
hi, I want source code to work send data from pc to another pc using telephone(modem). thank you. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi, can anyone help me how to store the image in oracle using JSP. plz...urgent.. can anybody give me the sample codes.. thanks |
The End.