Java package in package?

后端 未结 4 1610
清歌不尽
清歌不尽 2020-12-09 15:39

I\'m using eclipse 3.8 indigo and I don\'t know why, when I\'m creating a new package the destination of the new package goes outside. I want to create new packages within a

4条回答
  •  清歌不尽
    2020-12-09 16:11

    The eclipse package explorer has two view options: flat or hierarchical. You are probably in the flat view (which is the default, who knows why). Change the view to hierarchical by clicking on the small triangle on the top right corner of the package view and then changing the package representation.

提交回复
热议问题