nanosani 20 Technize.net addict Team Colleague

try using Internet Download Accelerator or Lightening Download. I havnt found any resume qualities in the IE.

nanosani 20 Technize.net addict Team Colleague

The best thing to do is start typing .... I think you've got all the idea ... all the classes can be extracted from what you have specified .... and if you are having any trouble in implementing some specific component ... feel free to ask ... someone here will surely help you.

nanosani 20 Technize.net addict Team Colleague

try using JTable .... study the JTable APIs and you'll know what you have to do.

nanosani 20 Technize.net addict Team Colleague

if you are using swing components ....then try using this ...

Timer t = new Timer(ActionListener, delay);

and if you use the java.util.Timer class ... then try this ...

Timer t = new Timer();

a rough Algo for your program

INITIALIZE THE TIMER
FOR LOOP DECREASING VALUES UNTIL ZERO
DO WHAT YOU WANT TO DO ...

nanosani 20 Technize.net addict Team Colleague

I tell you the way round ...

Process p = Runtime.Runtime().exec("ipconfig");

or just type another command for finding what computers are connected to your computer ( see net commands )

if you have linux or something .... write the commands over ipconfig.

nanosani 20 Technize.net addict Team Colleague

Can you please specify your project in more detail .... and to what level do you want to go in your project. And what have you tried yet ?

nanosani 20 Technize.net addict Team Colleague

yes ... once I started my computer and it formatted the whole hard drive without booting into windows .... I knew it by booting it from the cd rom :DD

nanosani 20 Technize.net addict Team Colleague

Grovie Afrooo

[img]http://www.cerjanickuss.com/May2003/Grovie3.jpg[/img]


NEXT: Techie Whiz

nanosani 20 Technize.net addict Team Colleague

Yes, surely this site is worth doing things like you wish to do .... I love the java section ...

nanosani 20 Technize.net addict Team Colleague

boat --> fish

nanosani 20 Technize.net addict Team Colleague

Name: Usman
Nickname: Sani (Arabic word meaning Second)
Height: 5'10''
Weight = :eek:
Hair: Brownish Black
Eyes: Blackish Brown
Location: PK
Age: 23
Hobbies: besides computers I like to play cricket, and do some physical exercise.

Relationship Status: unoccupied :lol:

Fav Music: Just listen to music to keep myself doing the homework :cheesy:
Education: Doing my graduation in Computer Science (last year, last semester) :p
Work: Its my last sem ... no time for work. Anywayz ... I used to teach mathematics
Favorite Food:Biryani( Rice blended with chicken) ... mostly indian foods .. spicy
Favorite Movies: Gorgeous, Rumble in the Bronx, Thunder Bolt, twin dragons n bla bla.

Favorite TV Shows: I love watching cricket matches.
Favorite Video Games: Mostly strategy games .... Sudden Strike (play n you'll appreciate the game), Age of Empires, Empire Earth etc etc .... n Development games like Sim City, The Sims, Tropico (they all take a huge amount of time to play ... pretty addictive).
Stuff you Dislike: just don like to remember bad things.

nanosani 20 Technize.net addict Team Colleague

See this site ... it has loads of projects that can be done in java.... and if you find some interesting project do inform me...

http://www.mindprod.com/projects.html

nanosani 20 Technize.net addict Team Colleague

mail me at nanosani@yahoo.co.uk ... I'll give you my game Yacht ... a purely button handling game.

nanosani 20 Technize.net addict Team Colleague

see JDBC reference ... it is related to connecting java programs to a database.

nanosani 20 Technize.net addict Team Colleague

use javac Welcome1.java
and then use

java Welcome1

nanosani 20 Technize.net addict Team Colleague

just reinstall winrar and try uninstalling it then .... I think you just deleted its uninstall log file by chance ... and its staying there now without uninstalling support.

nanosani 20 Technize.net addict Team Colleague

what do you mean by menu based ??? ... is it the file menu you are talking about ??

nanosani 20 Technize.net addict Team Colleague

If I retrieve memory from freeMemory() method .... which memory is returned ... the free ram or the memory available to jvm.
same is the question for totalMemory().
Thanks.

nanosani 20 Technize.net addict Team Colleague

What is a Glass Pane ? and how should I use it ... please give an example. Thanks.

nanosani 20 Technize.net addict Team Colleague

I have made a hospital management system ....its GUI is creating some problems .... I have a container at the top level with Borderlayout ... a combo box is on its north ... and a JPanel is on its center. Combo box contains two items ... Doctor and Patient. the biodata of the doctor is in a seperate JPanel and patient is in another JPanel.

This is what I wanted to do ... when the user selects the doctor from the JPanel the GUI should display the doctor Panel ... and when the user selects the patient panel the GUI should display the patient panel ... but .....

The way its going is that ... the patient panel is displaying while doctor panel is not ... I dont know whats the problem ... Please help.

attaching the files ... see for yourself.

nanosani 20 Technize.net addict Team Colleague

Read about the Time class ... you'll get what you want.

nanosani 20 Technize.net addict Team Colleague

String s;
s.charAt(5);

s.indexOf('K');

String t = s.toUpperCase();

s.replace(h,b);

nanosani 20 Technize.net addict Team Colleague

thats all true ... I've heard about a java operating system too that is coming by the mid of 2005 ... it is really fast .... more and more people feel java a very easy language to learn ... like me ... I learned c++ first and then java ... and now I only program in java .... or some little programming that is system dependent ... I do it in c++.

nanosani 20 Technize.net addict Team Colleague

no, if you wanna use the awt components then you have to import the awt only ... not swing

nanosani 20 Technize.net addict Team Colleague

Sun's java 2 tutorial is a good one ... try it

nanosani 20 Technize.net addict Team Colleague

JBuilder 7

nanosani 20 Technize.net addict Team Colleague

You can use JCreate which is free and you can download it from www.download.com

nanosani 20 Technize.net addict Team Colleague

If you mean an external file ... i.e, an exe file or like that .... then you should try

Process p = Runtime.getRuntime().exec("c:\myprogram.exe");

:mrgreen:

nanosani 20 Technize.net addict Team Colleague

In simple words , the client requests that some action be performed and the server performs the action and responds to the client. This request-response model of communication is the foundation for the highest level views of networking in java i.e., serlets and Java Server Pages. Servlet extends the functionality of a server. :idea: understand

nanosani 20 Technize.net addict Team Colleague

I am creating a notepad application .... and I want to change the font of the selected text in the JEditorPane .... but when I change the font now ... it changes the font of the whole text .... same is the problem with background and foreground colors.... :o

nanosani 20 Technize.net addict Team Colleague

explain more ... what layout are you using ??

nanosani 20 Technize.net addict Team Colleague

tell more about your project

nanosani 20 Technize.net addict Team Colleague

start by building the gui .... and then you'll be able to extract your imagination of the methods that must be used.

nanosani 20 Technize.net addict Team Colleague

the best resource for learning java is the tutorial provided by sun at java.sun.com .... the link to the tutorial is :

http://java.sun.com/docs/books/tutorial/download/tutorial.zip

and probably the best book with a lot of exercises and examples and explanation is

Java how to program by deitel and deitel

if you need any specfic help mail me at <EMAIL SNIPPED>

nanosani 20 Technize.net addict Team Colleague

this is the code for opening file dialog ... save file dialog is implemented similarly with jFileChooser

private JFileChooser jFileChooser1 = new JFileChooser();
if (JFileChooser.APPROVE_OPTION == jFileChooser1.showOpenDialog(this)) {
// Call openFile to attempt to load the text from file into TextArea
openFile(jFileChooser1.getSelectedFile().getPath());
}
this.repaint();

nanosani 20 Technize.net addict Team Colleague

try out this code ... it will not be platform independent ....
Process p = Runtime.getRuntime().exec("c:\myprogram.exe");

I dont have the time to test it .... if you succeed please tell me too.
:eek:

nanosani 20 Technize.net addict Team Colleague

Just direct the keyboard input to a string and destroy the string ..