how do i make it so i only have to type “onion” instead of typing the whole thing. I am trying add a String for the Flavour of PackOfCrisps, but i have to type: new PackOfCrisps(“onion”) this is what i have done for the method and this is the interface i get where i have to type: new PackOfCrisps(“onion”) Answer
Tag: bluej
Messing around with graphics in Java
I want to make an animation of an ellipse growing and shrinking in length. The animation should be continuous, so I want the length of the ellipse to grow to a certain point and then shrink back to its original for as long as the program is running. I already have the animation part of the program done, and I’ve
Eclipse IDE Scope Highlighting?
When I first learned Java, I was using an IDE called “BlueJ.” It had this feature called “Scope Highlighting” which made it very easy to read blocks of code. Now I’ve moved on from BlueJ and began using Eclipse. I’m currently in the process of customizing Eclipse to my liking and would like this Scope Highlighting feature inside Eclipse. I’ve