In addition to that, when it comes to debugging process, BlueJ functionality enables developers to detect errors in code early in the process as every code segment that has syntax error is highlighted. The user interface of BlueJ is pretty basic and simple which allows beginner to intermediate Java developers to learn and adapt to all features available quickly. Nonetheless, as someone who has been using it from college, I got the experience to have two different perspectives, one as a Java beginner who only used BlueJ for basic Java programming projects and another one as a professional engineer who use BlueJ for more complex and advanced app and web development, therefore, in my personal opinion BlueJ is great option for beginner to intermediate Java developer, however, for professionals who require more advanced Java libraries and other extensions, BlueJ might still be a good option to choose however there may be some features which are not supported. My experience overall with BlueJ has been positive due to its user/developer friendly interface and the ease of debugging process. Used Show debugger and reproduced issue but i do not see any logging or trace o_O, should it?įurther comments, suggestions or help are appreciated.Comments: I have been using BlueJ since I was in college back in 2019 when I took few classes related to software development mostly in Java until today where I am still regularly use it for my work as a product engineer. I checked and have the latest up-to-date as per the Help> Check Version. I did try reopening the package same issue.Īlso noticed that if i create a Staff object and try to compile any of the others which are diagonal stripped it deletes the object. I'm still doing research, found a couple of posts stating that the methods are old or something like that. If i try to right click any of the other ones: Database, Person or Student and select "Compile" i get "Compiling.Done" but the diagonal stripes do not disappear. "Recompile with -Xliint:unchecked for details"įollowed the steps on this post to disable the pop-up: Īt this point the diagonal stripes have ONLY disappeared for Staff. This time, you were prompted to fill-in the parameters of the Object, so it could set up its initial values. Note there are two String values, which need to be enclosed in quotes. You can copy the values shown below, and then click OK. You will now be given a prompt for both an Object name and parameters.This time, click on new Student(String, int, String).To see this, let's create one more Object, this time a Student: Notice how an object now shows up on the object bench.Īll you needed when creating that object was its name, but sometimes Objects ask for more information so they can start off with certain data. You'll get a box asking you to name your new object, but you can leave the default suggestion and click OK.Click on the second menu item, new Staff().To create an actual object, right-click on a Class and click on a "new" menu item. Creating ObjectsĪs mentioned before, Classes are like blueprints to define specific instances (or Objects) of code. The main pane shows a diagram of each Class in a project and their relationships with each other. You should then see the following screen (without the blue markup):īlueJ lets you create and view Classes and Objects in a visual manner. (You can also open a project from within BlueJ by clicking on Project > Open Project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |