Results 1 to 2 of 2

Thread: packages

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    2

    Question

    Hello,

    Sorry, My Englisch is not good, but I hope you understand.

    I'm new with Java and I have a question.

    For the record, I use JBuilder Foundation 3.5.

    My question:

    I made two project (two different kind of directories=> This means two packages.

    In packages One I made a button, if somebody clicks on this button a frame in packages Two will open.

    To realize this I add this line by imports:

    import medewerker.classes.medewerker.*;

    Between ActionPerformered I added:

    medewerker med = new medewerker();

    This doesn't works!!!

    Somebody have a suggestion?????

    It works when I import the classes from package Two in packages One. That is not what I want.

    Thanx




  2. #2

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    2

    Cool answer

    I already solved it.....

    The thinks I wanted to do, didn't work. So I changed the package name.

    It works fine.

    But thanx for the reaction.....



Posting Permissions

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



Click Here to Expand Forum to Full Width