CodeGym
Promotion
CodeGym University
Learning
Course
Tasks
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Question
  • Reviews
  • About us
Start
Start learning
Start learning now
  • All questions
Sakka Mouid
Level 17
Hannover
  • 22.04.2022
  • 81views
  • 5comments

Compiler can't find method setCellValueEx(...) , even though i implemented its class !!!

Question about the task Snake (Part 4/20)
Games,  Level 0,  Lesson 1
Resolved


0
Comments (5)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Lisa L
Level 38 , Nuremberg, Germany
22 April, 19:19solution
setCellValueEx != setCellValueEX and cause you comment 'why 75?'... https://codegym.cc/groups/posts/138-games-section-on-codegym-game-engine
+2
Sakka Mouid
Level 17 , Hannover, Deutschland
23 April, 00:32
Hi Lisa ! Thank you for your fast helpful answers :) . This the first game i try to develop . I'm new to this and the thing here , we are using a codegym engine called Game . So my question is : functions such as setCellValueEx () and setCellColor() are they only in this codegym package available ? For example , if a create a project in Intellij, which is independent from the CodeGym Plugin (not using it), should i download another Plugin ? and in this case , should i use completely different methods ?
+1
Lisa L
Level 38 , Nuremberg, Germany
23 April, 07:33
Because learning can be tedious from time to time (hihihi) CG wanted to enable the learners to code more interesting things with their still relatively small possibilities. And there we are already at the core of the matter: GUI. Actually GUI programming is not sooo hard but you use more advanced programming techniques here. You don't have to understand them to use GUI frameworks, but it's helpful. In addition, a relatively large amount of administrative code has to be written. In the end, there would be a lot of explanations that cannot be understood and distracts from the main topic: Java syntax and core. That's probably why CG wrote the Game (class) engine. Later you can look at these GUI frameworks yourself and don't need a CG game library anymore. You just write yourself what you need. No problem for a coder ;) A colleague here did exactly that just a few days ago and published his code on Github. Check it out, I think the two games are awesome. As info. CG uses JavaFX for the Game class. The few times you use GUI here in the course it is Swing (afair in 4 projects). The colleague mentioned above also uses Swing.
+1
Sakka Mouid
Level 17 , Hannover, Deutschland
12 May, 16:49
Noch eine Frage : Warum haben wir nicht einfach die AWT Klasse benutzt ? Das wäre besser . um die Klasse kennenzulernen und um mit etwas allgemeiner zu arbeiten , das alle Programmierer kennen , und nicht ein GC Game class Engine. .
0
Lisa L
Level 38 , Nuremberg, Germany
12 May, 17:08useful
Die game engine ist JavaFX und nicht AWT/ Swing. Davon abgesehen ist GUI Programmierung in Java keine Kleinigkeit. Ich würde sagen, du solltest schon mit dem Kurs irgendwo in der Mitte vom Multithreading Quest angekommen sein (innere Klassen und anonyme Klassen), um da überhaupt etwas verstehen zu können. Außerdem unterschätzt du den Umfang dieser Grafikbibliotheken. Die sind abartig umfangreich. Da fängst du an was zu suchen und bist verloren. Der echte Wahnsinn. Dagegen sollten die Games hier motivieren und eben nicht abschrecken, also wohl insbesondere auch von gerade hinzugekommenen Lernwilligen nachprogrammiert werden können. So ab Level 5 habe ich in Erinnerung sind die gedacht. Da ist es wohl einfacher, eine setCellValueEx() Methode aufzurufen als sich erstmal ein paar Stunden durch verwirrende Klassen zu kämpfen, deren Zusammenhang man zu diesem Zeitpunkt überhaupt nicht verstehen kann.
+1
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning and Java developer’s career.
Follow us
Interface language
Programmers Are Made, Not Born © 2022 CodeGym
Download App
  • Google Play
  • Huawei AppGallery
  • App Store
MastercardVisa
Programmers Are Made, Not Born © 2022 CodeGym
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.