943,641 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 283
  • Java RSS
Aug 19th, 2009
0

a couple of questions

Expand Post »
Ive know started up programming again.

My last try was in delphi where my best project was a security screensaver.

Ive know decided to start up programming again and my choice this time was java whit netbeans and my project would be to rewrite the Security screensaveer and add any extra options i have figured out in my absence.

Ive spend the last 3-4 days reading java basics and finding the saverbeans SDK used some (to many) hourst configurering ant, learning to load an existing project (bouncingline) compiling it to a scr and then move it to system32.

where i at last got it to worked.

What troubles me is it seems that bouncingline takes controll of the entire screen makes it black and bounce a colored line around.
(where i in security screensaver in delphi had a form whit an image box and an exit button in top left cornor that opened a seperate password form)

whit these options im wondering if it will be possible to load images to be shown in the screen (whit seizeable options like stretch/resize large/resize large and small),

and if it will be possible for me to prevent the screen from closing unless u enter the right password in an alternative form (opened by the exit button or maybe here in java whit a key combination).

i hope someone can answer me on these question so that my work wont go to waste.

Best Regards,
darkyere
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
darkyere is offline Offline
17 posts
since Nov 2008
Aug 19th, 2009
0

Re: a couple of questions

Yes, both are possible. Resizing the image may be tough but it is definitely possible, however, you'll have to wait on someone else to answer how to go about doing that. For forcing a window to stay open until a correct password is entered, you'd look into WindowListener. http://java.sun.com/docs/books/tutor...wlistener.html
Reputation Points: 874
Solved Threads: 352
Posting Maven
BestJewSinceJC is offline Offline
2,758 posts
since Sep 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Advice on probabilty
Next Thread in Java Forum Timeline: Working with JTextFields and Layouts





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC