Results 1 to 2 of 2

Thread: Link threads

  1. #1
    Ultre is offline Member
    Join Date
    Jun 2010
    Posts
    6
    Rep Power
    0

    Default Link threads

    Hello guys,

    i'v got a porblem with multiple classes, iv got a main Class "App" that creates a Crane Thread and another class "ContainerShip". In this ContainerShip class i'v got an array of Containers, which is another class.

    Now the problem is that The Crane class needs to "pick" the containers from the list thats made in the ContainerShip class. So how can i link that Crane Thread with the ContainerShip class.

    Simplefied:
    App->Crane
    App->ContainerShip->Container
    now i want to link Crane->Containership->Container

    ...
    My first post :D

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default

    When you create the Crane class, pass it a reference to the ContainerShip class.

Similar Threads

  1. jsf command link
    By Srikala in forum JavaServer Faces (JSF)
    Replies: 2
    Last Post: 06-29-2010, 03:38 PM
  2. Someone posted a link here
    By coltragon in forum New To Java
    Replies: 3
    Last Post: 01-07-2010, 09:37 PM
  3. jsf command link
    By Srikala in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 06-25-2009, 09:03 AM
  4. Link for 64 bit JDK.
    By aparna in forum New To Java
    Replies: 0
    Last Post: 03-19-2008, 03:15 PM
  5. Link List
    By one198 in forum New To Java
    Replies: 0
    Last Post: 10-14-2007, 02:33 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
  •