Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » This Is the Only Thing I Need!(Packages in Packages)
icon5.gif  This Is the Only Thing I Need! [message #1414864] Mon, 01 September 2014 13:29 Go to next message
Luca Gareff is currently offline Luca GareffFriend
Messages: 3
Registered: September 2014
Junior Member
I don't know how to make packages in packages like show in the picture. Help! It's the only thing I need help with!
  • Attachment: Ex.png
    (Size: 15.31KB, Downloaded 128 times)
Re: This Is the Only Thing I Need! [message #1414920 is a reply to message #1414864] Mon, 01 September 2014 15:55 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09/01/2014 09:27 AM, Luca Gareff wrote:
> I don't know how to make packages in packages like show in the picture. Help! It's the only thing I need help with!
>

Right-click on any package under a source directory and choose New... ->
Package.
Re: This Is the Only Thing I Need! [message #1414926 is a reply to message #1414920] Mon, 01 September 2014 16:16 Go to previous messageGo to next message
Luca Gareff is currently offline Luca GareffFriend
Messages: 3
Registered: September 2014
Junior Member
Doesn't work. See?
  • Attachment: Ex.png
    (Size: 8.43KB, Downloaded 119 times)
Re: This Is the Only Thing I Need! [message #1415010 is a reply to message #1414926] Mon, 01 September 2014 21:49 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09/01/2014 10:16 AM, Luca Gareff wrote:
> Doesn't work. See?
>
Now create a new class (.java) underneath and you'll the icon change to
a colored one.
Re: This Is the Only Thing I Need! [message #1417761 is a reply to message #1415010] Sat, 06 September 2014 00:59 Go to previous messageGo to next message
Luca Gareff is currently offline Luca GareffFriend
Messages: 3
Registered: September 2014
Junior Member
And how does that help me? I don't care about what I put in it or the color. I want to make a child package! Like shown in the image!
Re: This Is the Only Thing I Need! [message #1417780 is a reply to message #1417761] Sat, 06 September 2014 01:44 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09/05/2014 06:59 PM, Luca Gareff wrote:
> And how does that help me? I don't care about what I put in it or the
> color. I want to make a child package! Like shown in the image!

I see. So when you ask Eclipse to draw you a dog, it draws you a dog,
but you don't like the dog so you say it didn't draw you a dog?

What you illustrated in your first post wasn't an Eclipse project in the
Package or Project Explorer view. In fact, I don't even know what it's a
picture of. The second post was an Eclipse project with packages exactly
as expected. It's a different thing, but it's working fine.
Re: This Is the Only Thing I Need! [message #1418159 is a reply to message #1417761] Sat, 06 September 2014 16:38 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 09/05/2014 07:59 PM, Luca Gareff wrote:
> And how does that help me? I don't care about what I put in it or the
> color. I want to make a child package! Like shown in the image!
There is no such thing as a child package in Java. Each package is
separate. If you want to show packages in a hierarchical way, you can
use the menu for the Package Explorer view to set the Package
Presentation to Hierarchical. The Package Explorer menu is activated by
clicking on the downward pointing triangle on the right hand side of the
Package Explorer view tab.
Previous Topic:Confused about Eclipse Indigo
Next Topic:StdOut not recognized
Goto Forum:
  


Current Time: Thu Apr 18 06:31:13 GMT 2024

Powered by FUDForum. Page generated in 0.03482 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top