Page 1 of 2 12 LastLast
Results 1 to 20 of 35
  1. #1
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default [SOLVED] Activation Frame

    Hi All

    I want to make a activation windows.When i code is run then first show Activation windows which have three field Name,Email And activation Key.When three field is right then show mainframe.And Activation key store in registry becouse when use run the second time then it run directally mainframe.Plz tell me how can i go..

    Txs in Advance

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Read the registry key and compare it with the user input one. If both are same then you can display the main frame.

    Working on the registry in Java is not a good practice at all. What happened if your application move to the linux. Because there is no registry at all. Best option is use of an xml file or a Java properties file to keep your records.

  3. #3
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    Read the registry key and compare it with the user input one. If both are same then you can display the main frame.

    Working on the registry in Java is not a good practice at all. What happened if your application move to the linux. Because there is no registry at all. Best option is use of an xml file or a Java properties file to keep your records.
    Ok it mean i store key value in file.But sir at the time i have a frame which have name and password filed then i click the ok button then my mainFrame show but is hang.Why Sir,i am not getting error and warning..

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  5. #5
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    What you mean hang? Is it freez or something like that?
    yes sir..

    it is not close and not open any menuitem.Only monitering part is working..

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    May be your threads are clashing in you application. Try to figure out and see is they any conflict with threads.

  7. #7
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    May be your threads are clashing in you application. Try to figure out and see is they any conflict with threads.
    Sir you know i am not abel to fiend out.So plz help me,If you say then i will send you code..

    Plz help me..

  8. #8
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    May be your threads are clashing in you application. Try to figure out and see is they any conflict with threads.
    Sir i got one point.When i click on LoginFrame then mainFarme is open and also one frame is runing in background.I don't know about these frame.Can you help me sir..

  9. #9
    jurka is offline Member
    Join Date
    Jul 2008
    Posts
    67
    Rep Power
    0

    Default

    Hm there's very good API for storing information in registry and it is also platform independent, so like in windows it uses registry in mac some file to store. But yes for me it seems the all activation parts in java very easly crackable.

  10. #10
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    May be your threads are clashing in you application. Try to figure out and see is they any conflict with threads.
    Sir main problem is that Loginfarme is not
    Java Code:
    dispose()
    .So i think problemm is accur.Plz help me Plz...........

  11. #11
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by jurka View Post
    Hm there's very good API for storing information in registry and it is also platform independent, so like in windows it uses registry in mac some file to store. But yes for me it seems the all activation parts in java very easly crackable.
    ok i think
    Java Code:
    Eranga
    is right...Any way right now i have some different problem..Can you help me

  12. #12
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  13. #13
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    Did you debug and see? You say when executing the dispose() it's freeze.
    I see that when i click on ok button
    Java Code:
    dispose()
    is freeze and mainFrame call...

    Plz help me

  14. #14
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    Did you debug and see? You say when executing the dispose() it's freeze.
    Sir plz help me..I fill handicaft on this problem

  15. #15
    jurka is offline Member
    Join Date
    Jul 2008
    Posts
    67
    Rep Power
    0

    Default

    it would easier to help if you post code

  16. #16
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by jurka View Post
    it would easier to help if you post code
    Can i give you related to this code...

  17. #17
    jurka is offline Member
    Join Date
    Jul 2008
    Posts
    67
    Rep Power
    0

    Default

    As i received your PM, but i am can't answer you, because i need 15 posts for PM-ing. You could also try to post code in zip, upload in some site filefront or something and post here.

  18. #18
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by jurka View Post
    As i received your PM, but i am can't answer you, because i need 15 posts for PM-ing. You could also try to post code in zip, upload in some site filefront or something and post here.
    jurka you got it..

  19. #19
    jurka is offline Member
    Join Date
    Jul 2008
    Posts
    67
    Rep Power
    0

    Default

    in what file you got the Activation code? And other dialogs work correctly ?

  20. #20
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by jurka View Post
    in what file you got the Activation code? And other dialogs work correctly ?
    New Compressed (zipped) Folder.zip you have got Loginframe.java file.In this file i got error and other is working fine.

    Can i delete the attachement zip file

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 07-21-2012, 01:15 AM
  2. close a frame..
    By tajinvillage in forum New To Java
    Replies: 5
    Last Post: 04-27-2008, 10:22 PM
  3. Resize frame
    By lenny in forum AWT / Swing
    Replies: 1
    Last Post: 07-29-2007, 11:18 PM
  4. Frame Query
    By Daniel in forum AWT / Swing
    Replies: 1
    Last Post: 07-05-2007, 06:27 PM
  5. Frame problems
    By gary in forum AWT / Swing
    Replies: 2
    Last Post: 06-20-2007, 01:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •