GSC Posted March 28, 2015 Share Posted March 28, 2015 So would protected be a better options? Or even re adjusting my packages so i dont have to use these modifiers at all? Thanks for pointing it out though, I do feel very clumsy using it a lot, my entire GUI class is utter shit in my opinion You should rethink your design to make the classes less dependent on each other. Using protected/no modifier at all isn't the solution, they should be private. If you need to access them like that, use getters and setters. Quote Link to comment Share on other sites More sharing options...
Tom Posted March 31, 2015 Author Share Posted March 31, 2015 You should rethink your design to make the classes less dependent on each other. Using protected/no modifier at all isn't the solution, they should be private. If you need to access them like that, use getters and setters. Thanks for the feedback, much appreciated mate Quote Link to comment Share on other sites More sharing options...