[java programming] How to setup labs in order to the pics

2011-02-08 Thread Nicky
Hi everyone, I am new here. Can anyone please tell me how to setup the labs? I can't see the pics. Thank you so much!! -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googleg

[java programming] how to add visual component to java web project

2011-01-03 Thread RAFAEL TAVERAS
hello, i remember at the version 5.x and 6 i draw and drop visual componets ( jtextbox , etc) at one form on java project , now i select all equal i was and only see the html code or jps.. :( some body know how at Netbeans 6.9.1 ?? thanks. Rafael Taveras Computer Sciences.

[java programming] How to lock object in JFrame when drag and drop in Netbeans ?

2010-11-11 Thread Nguyễn Đình Đoàn
Hi my friends, When I drag and drop many objects in a form with netbeans. One object maybe destroy all form easly :( Is there someone got that ? So how to make objects become locked. As I used visual studio to create applications, I can set it to be locked in properties list. But I can't see "loc

Re: [java programming] How to convert String like: "Tue Oct 05 00:26:28 ICT 2010" to Date ?

2010-10-06 Thread shilpa oberoi
you can convert it into string using toString and then get the required substring. 2010/10/4 Nguyễn Đình Đoàn > Hi friends, > > When I run command: System.out.println(new Date()); > It printed out: *Tue Oct 05 00:32:53 ICT 2010* > So, If I have a String as "*Tue Oct 05 00:32:53 ICT 2010"* > *How

Re: [java programming] How to convert String like: "Tue Oct 05 00:26:28 ICT 2010" to Date ?

2010-10-04 Thread jitesh dundas
Use DateFormatter classes my friend. Java.util.date may not be supported.. Check if the string that you look for is Correct & recognized by your class methods. String formats are not mostly the problems. Thanks, jd On 10/4/10, Paul Singleton wrote: > You can try something like this, you just ne

Re: [java programming] How to convert String like: "Tue Oct 05 00:26:28 ICT 2010" to Date ?

2010-10-04 Thread pavanl...@gmil.com
I think pattern has to be EEE MMM dd HH:mm:ss z As "h" letter represents hour in am/pm(1-12) Sent from iPhone On Oct 4, 2010, at 1:41 PM, Nguyễn Đình Đoàn wrote: Hi friends, When I run command: System.out.println(new Date()); It printed out: Tue Oct 05 00:32:53 ICT 2010 So, If I ha

Re: [java programming] How to convert String like: "Tue Oct 05 00:26:28 ICT 2010" to Date ?

2010-10-04 Thread Paul Singleton
You can try something like this, you just need to change the value of the SimpleDateFormat to what you need: import java.text.SimpleDateFormat; import java.util.Calendar; public class NewClass { public static void main(String args []){ Calendar cal = Calendar.getInstance(); SimpleDa

[java programming] How to convert String like: "Tue Oct 05 00:26:28 ICT 2010" to Date ?

2010-10-04 Thread Nguyễn Đình Đoàn
Hi friends, When I run command: System.out.println(new Date()); It printed out: *Tue Oct 05 00:32:53 ICT 2010* So, If I have a String as "*Tue Oct 05 00:32:53 ICT 2010"* *How to convert it to Date (java.util.Date)* * * I tried running: * DateFormat f = new SimpleDateFormat("EEE MMM dd hh:mm:ss z

[java programming] how to enable or disable Jtextbox or other object on one Jframe or similar not one by one.

2010-09-07 Thread RAFAEL TAVERAS
Hello, please , i want to know how to enable or disable Jtextbox or other object's Jframe or similar "not one by one". all a same time! thanks. Rafael Taveras Computer Sciences. -- To post to this group, send email to javaprogrammingwith

[java programming] how to move from core java & learn jsp

2010-07-26 Thread puneet goyal
which is the best way to learn JSP i have done core java .. kindly comment .. -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googlegroups.com For more options, visit this gr

[java programming] how to access local file system in java applets ??? pls help

2010-06-04 Thread Somu
hi, I m not able to access local files from my applet... i know that JVM is strict about its security aspects.. but is there any way by which i can access file... atleast files located in my codebase ??? The code i hav written in my public init() is fin = new FileInputStream(getCodeBase().getPa

[java programming] How to save multiple screen shots in a single GIF or JPG file‏

2010-03-30 Thread Anthony Lam
Hi, As the Java class exercises suggest to use Paint to create gif or jpg file type to capture the screen shot results for the exercise. My question is if the homework involves more than one screen shots in the result, does it means we will be submitting more than one gif or jpg files in our

Re: [java programming] How to pay for courses?

2010-02-24 Thread Sang Shin
On 2/24/2010 7:08 AM, kengriffin wrote: How do I pay for the courses? One course starts on Monday. I would like to make sure that I am properly enrolled and my fees are paid. Thank you, Kenneth Griffin We are still in the testing stage of conversion. We are going to start the course o

[java programming] How to pay for courses?

2010-02-24 Thread kengriffin
How do I pay for the courses? One course starts on Monday. I would like to make sure that I am properly enrolled and my fees are paid. Thank you, Kenneth Griffin -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to ja

[java programming] how to get primary key when set value on JList

2009-12-20 Thread chim chich bong
I have a JList object and a vector object contain values in Student table. But when i set value on Jlist object, i only set studentName column.I want to get primary key when i select item on Jlist. ex: stStudent = cn.createStatement(); rsStudent = stStudent.executeQuery("sel

Re: [java programming] how to become a hardcore programmer

2009-12-12 Thread Ruby Hartono
Hi, Rammohan Vadlamani I agree with Andre Brown that you should start with small application first. Like for me, I try to imitate a certain calculator program. At first I though it looks easy, however it is not as easy as I expected. In my opinion, before you really proceed into a big program try

Re: [java programming] how to become a hardcore programmer

2009-12-11 Thread Ashok A V
Hi Genene Geda, http://java-source.net/ is your entry point to all famous java opensource projects to which you can contribute Thanks, Ashok A V -- Victory belongs to the most persevering. - Napoleon -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsub

RE: [java programming] how to become a hardcore programmer

2009-12-11 Thread Genene Geda
To: rmmo...@gmail.com Cc: javaprogrammingwithpassion@googlegroups.com Subject: Re: [java programming] how to become a hardcore programmer Hi The best thing to do to work on large applications is to either get a developer job in an organisation or to contribute to an open source project. Most

Re: [java programming] how to become a hardcore programmer

2009-12-11 Thread ceduardo
Hi Rammohan I want to will be a power full programmer too, I like see the source code that find on Internet. See this link can help you http://www.falstad.com/mathphysics.html Bye. PD: I am sorry but mi English is very bad. 2009/12/10 Rammohan Vadlamani > Hi all, > I have been practi

Re: [java programming] how to become a hardcore programmer

2009-12-11 Thread Nic Fox
All good to know. Just take it one thing at a time—divide and conquer. IMHO you don't really need to become an expert at all of the things in George's list, but it will be valuable to get the basics of them all down so you can learn the in-depth stuff once you have a need to use them on a pr

Re: [java programming] how to become a hardcore programmer

2009-12-11 Thread George Dickson
I'm also just starting out in Java programming - and its a bit daunting. I was sketching a diagram in my head the other day with all the connections - I'll try to describe it 1. Start of with knowledge of HTML the basis of any web page 2. Then you can put Javascript into the HTML 3. You can wrap t

Re: [java programming] how to become a hardcore programmer

2009-12-10 Thread Nic Fox
Hi The best thing to do to work on large applications is to either get a developer job in an organisation or to contribute to an open source project. Most jobs in Java development these days seem to require J2EE/ Java EE, and usually that also means familiarity with SQL/database technologies

RE: [java programming] how to become a hardcore programmer

2009-12-10 Thread Warain, Jessie
ssage- From: javaprogrammingwithpassion@googlegroups.com [mailto:javaprogrammingwithpass...@googlegroups.com] On Behalf Of Jesse Lesperance Sent: Friday, December 11, 2009 11:28 AM To: nuno.mgar...@gmail.com Cc: rmmo...@gmail.com; javaprogrammingwithpassion@googlegroups.com Subject: Re: [java p

Re: [java programming] how to become a hardcore programmer

2009-12-10 Thread Jesse Lesperance
A correction to your statement, there ARE algorithims to calculate the prime of any given number. In fact, those algorithims are used for many things like SSL encryption Sent from my iPhone On Dec 10, 2009, at 7:22 PM, "Nuno Garcia" wrote: > Hi, I'm picking the last part of the question

Re: [java programming] how to become a hardcore programmer

2009-12-10 Thread André Perroni Luchesi
expensive to the hardware. But there isn't an easy way to learn, you have to practice, a lot!!! Andre. - Original Message - From: Rammohan Vadlamani To: javaprogrammingwithpassion@googlegroups.com Sent: Thursday, December 10, 2009 6:40 PM Subject: [java progra

Re: [java programming] how to become a hardcore programmer

2009-12-10 Thread Nuno Garcia
Hi, I'm picking the last part of the question to answer you. Everyone knows how important the prime numbers are in Computer Science. And also everyone should know that there is no algorithm to compute / identify if a number is prime or not: you just have to divide the number consecutively by other

Re: [java programming] how to become a hardcore programmer

2009-12-10 Thread Andre Brown
Programming is all about practice and experience. So my advice to you would be to work on some projects. Start a personal programming project - perhaps a small desktop application to begin with. Make it something you want to use, something that matters to you. You may also try participating in

[java programming] how to become a hardcore programmer

2009-12-10 Thread Rammohan Vadlamani
Hi all, I have been practising java programming for the past one year and have learnt pretty much of it. But I want to program really big stuff. Can any one tell me how should I proceed. I have also heard that algorithms and mathematics play a big role in programming. Can any one let me kn

[java programming] How to use RandomAccessFile

2009-11-26 Thread Programerz
Hello to All java masters, I need help in using RandomAcessFile class in java. >From what I learned it can read and write files with some sort like pointer or index. does anybody can explain how to use it? -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsu

[java programming] how to create database?

2009-10-07 Thread Lester Guerzon
hi! I want to create a database, how do i create one? --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googlegroups.com For

[java programming] How to install netbeans in mandriva linux

2009-09-19 Thread SATISH CHANDRA
Please help me to install NetBeans in my computer. I am using Mandriva OS in my system. I am a user and dont have root password. I have downloaded JDK in my system. I downloaded netbeans from internet and when it was downloaded in my system the file was netbeans-6.7.1-ml-java-linux.sh I chan

[java programming] How to install JDK 6 on the Mac

2009-08-20 Thread ilango
I installed JDK 6 on the Mac myself. Just remember to sign up to become an ADC member at https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/106/wo/QJ0PEeMldkoi2dv6akS1SyiPM9V/0.0 Do this before you can use the link below. http://support.apple.com/downloads/Java_for_Mac_OS_X_10_5_Update_

[java programming] How to show the path

2009-08-16 Thread arindam chatterjee
Hello everyone, I am having "*java_ee_sdk-5_07-windows-ml*" installed(this sdk has jdk in it) in my computer.But whenever I am trying to compile any .java file rom the command prompt,it is showing "*javac is not recognized as an internal command,operable program or batch file*".But surprisingly in

[java programming] How to use command prompt to compile multiple packages which contain mutiple java files

2009-08-10 Thread Lee89
I have created a program with netbeans, however I am instructed to remove the dependency on netbeans and to compile by command prompt. How can I compile the multiple package at once? thanks~~ --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammin

[java programming] How to use netbeans effectively

2009-08-07 Thread JKid314159
wrote: From: Mario Schubert Subject: AW: [java programming] How to use netbeans effectively To: "happy27...@yahoo.com" , "Free Java Programming Online Training Course by Sang Shin" Date: Friday, August 7, 2009, 2:52 AM Did you install the „groovy-plugin” for netbe

AW: [java programming] How to use netbeans effectively

2009-08-06 Thread Mario Schubert
Free Java Programming Online Training Course by Sang Shin Betreff: [java programming] How to use netbeans effectively Dear Instructor: I am at the following link. I am using NetBeans 6.5.1. http://www.netbeans.org/kb/docs/java/groovy-quickstart.html#application I open New File but can not find

[java programming] How to use netbeans effectively

2009-08-06 Thread JKid314159
Dear Instructor: I am at the following link.  I am using NetBeans 6.5.1.   http://www.netbeans.org/kb/docs/java/groovy-quickstart.html#application I open New File but can not find the Groovy option?  I need higher version of NetBeans?  Label say 6.5 or higher?  Please comment.  Thank you. Respec

[java programming] How to Use NetBeans Effectively

2009-08-05 Thread JKid314159
Dear Instructor:   Just want to make sure as this lesson is not structured as the other ones are:   This includes all under "Tutorials and Articles?" This also includes Maven, Profiling Source Code, Scritpting Languages, JMX Monitoring and Management?" Respects, JKid314159 http://existentialist

[java programming] How to Use NetBeans Effectively

2009-08-05 Thread JKid314159
Re:  Lesson "How to Use NetBeans Effectively"   Dear Java Programmer:   I am unsure what has to be done here.  And what is the time for completion?  Respects, JKid314159 http://existentialists.blogspot.com/       --~--~-~--~~~---~--~~ To post to this grou

[java programming] how to import int type from keyboard by JOptionPane ?

2009-07-16 Thread nguyen thanh lam
I only can import String type. If i import int type, error's appeared. how should i do ? --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion

[java programming] how to

2009-07-11 Thread ben
hi everyone, i just have one more small doubt i would like to know how to add the path C:\"Program Files"\Java\jdk1.6.0_11\bin to the front of the environment variable so that i can compile the programs without having to specify the entire path... thanks, ben. --~--~-~--~~-

[java programming] how to search for String element in array list!

2009-07-03 Thread howtobefighte...@yahoo.com
hi.. i got this program which is going to enter many names+the price. String name[]; int size=Integer.parseInt(JOptionPane.showInputDialog("how many names?")); name=new String[size]; System.out.println(i+"num"+"\t"+"item"+"\t"+"price RM"); for(int i=0;ihttp://groups.google.com/gro

[java programming] How to look for a specific class with ListIterator?

2009-06-30 Thread Maul
The following code is from "Java Collection Framework" tutorial from JavaIntro, modified to want I wanna do:) What I wanna find out is how you would look for an object of a specific element in an ListIterator. Let's say I want to find out if the next() element in ListIterator is an instance of th

[java programming] how to do this program!!

2009-06-29 Thread howtobefighte...@yahoo.com
hi evryone ..i have problem with this program.. Write a class to hold array of item name as String type ,stock as integer type and price as double type. Use constructor to construct the arrays. Use methods to add element, search element, edit element at a given index for change of price, delete

[java programming] How to detect the file encoding?

2009-05-24 Thread Choon-Ching Ng
Hi all, May i know is there any possible solutions to detect the encoding or character set (charset) of a file automatically? Second, how to convert a particular encoding to Unicode once the file encoding is detected? Thanks in advance. -- regards, Simon --~--~-~--~~~--

[java programming] How to check whether a copy of an app is running on a machine

2009-04-30 Thread iceman
i am making a simple gui based application, and i want to limit the number of instances of that application running on a machine to 1 . please give me some direction on how can i implement this --~--~-~--~~~---~--~~ To post to this group, send email to javaprogram

[java programming] How to create a field that has another fields?

2009-04-30 Thread Anton Shaykin
Again problems with Serialization homework. Anyone understands what this means: Profile field, which has the following fields ... It doesn't make much sense to me. Any help would be appreciated. --~--~-~--~~~---~--~~ To post to this group, send email to javaprogram

[java programming] How to unsubscribe

2009-02-18 Thread Asher Fawad
tell me how to unsubscribe from this mailing list --- On Wed, 2/18/09, mitc...@persona.ca wrote: From: mitc...@persona.ca Subject: [java programming] Re: Homework Exercise LAB-1023 To: "Free Java Programming Online Training Course By Sang Shin" Date: Wednesday, February 18, 2009, 4:20 PM well

[java programming] how to add radio button into Button Group in netbeans 6.0

2009-02-03 Thread sdcl
How to add radio button into buttonGroup in Netbeans 6.0 IDE --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion-unsubscr...@googlegroups.co

[java programming] how to determine arguments

2009-01-23 Thread Rodel Bosque
hi guys, how to determine arguments if its a String or an integer? ex: args[0] = "ABC" args[1] = "10" args[2] = "DEF" args[3] = "20" as far as i know arguments is an array of String. if i use Integer.parseInt(args[0]) there is an error occured. can you help me explain what should i do. Thanks

[java programming] How to define the "Access Control" provided "use of single 'LoginAction.java'"

2009-01-20 Thread praveen gaur
Hello there, I would like to mention that i'm a ammeture programmer i have started my career just 6 months before.Now i'm having a big challenge :- How to set the "Access Control Rules" in a web application using a single "LoginAction.java" I'm working on aproject of a Hospital.So,i have to mana

[java programming] How to insert PDF files into oracle database

2009-01-07 Thread nand
I have requirement to insert a pdf document from client pc into oracle database, any inputs on this is greatly appreciated nan --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, se

[java programming] how to get started

2008-12-03 Thread chered
hi how to get started, i dont have any prior programming experience --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this g

[java programming] How to add system properties in a file???

2008-11-27 Thread ivneet kaur
HI All I am trying to save system properties in a file as following: FileOutputStream f0= new FileOutputStream("xyz.txt"); Properties p1= new Properties(System.getProperties()); try{ p1.store(f0,"properties list"); f0.close(); } I have created a file "xyz.txt" which is made to store system

[java programming] How to retrieve the GIF object name.

2008-11-05 Thread Norman Ho
For the javaswing homework, we are required to load the icon array, and the choice array for which the choice country would correspond to the country flag icon. I have set up an icon package to hold the flags; initially, each flag icon has the country name for each flag, but I had to change the na

[java programming] how to change to uppercase if i have byte code of the character

2008-10-30 Thread cis_body
I started doing java stream i/o homework but i am stuck with changing the character to uppercase. Is there anyone figured out how to do it? Any tip would be very valuable. Thank you. --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpass

[java programming] how to start with the online class

2008-09-24 Thread MouMaanuGMAIL
I have registered for this class day before yesterday only. Pls can anyone guide me how to start with this online class. Thanks, Das --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from t

[java programming] How to do case statement like a Select Case?

2008-09-24 Thread Norman Ho
I would like to implement some codes of case like this: case model of "Convertible": furtherDiscount = 500; "Premium": furtherDiscount = 800; " GT500": furtherDiscount = 700; ... The java switch case structure is quite clumsy, instead of using nest ifs, is there a n

[java programming] Re : [java programming] How to run the Java program?

2008-09-17 Thread Bakoly
de : Mer 17.9.08, Cynthiah <[EMAIL PROTECTED]> a écrit : De: Cynthiah <[EMAIL PROTECTED]> Objet: [java programming] How to run the Java program? À: javaprogrammingwithpassion@googlegroups.com Date: Mercredi 17 Septembre 2008, 20h03 Hi, I got a question: How to run the java program

[java programming] How to run the Java program?

2008-09-17 Thread Cynthiah
Hi, I got a question: How to run the java programs in Windows without using Net Bean? In Windows, click on a *.exe file will run. But click on the *.class won't. --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.co

[java programming] how to start?

2008-09-13 Thread balaji gunasekeran
hi, im new to this group , can anyone tell me how to start this course and where to get the materials to study and everything? i checked with the faqs but couldnt find anything.. --~--~-~--~~~---~--~~ To post to this group, send email to javaprogrammingwithpas

[java programming] How to access project created using dos command entry ?

2008-08-30 Thread Norman Ho
I created a directory of foodpackage, and subdirectory fruitpackage; and I used notepad to create two java file of Food.java and FoodMain.Java inside fruitpackage. When I try to open the project fruitpackage using NetBean, it shows an empty folder. When I open the file FoodMain.java using NetBean