About 10,200 results
Open links in new tab
  1. java - Designing object oriented systems / GUIs - Stack Overflow

    Mar 1, 2012 · Any pointers that you all could offer as to effective ways to architect object oriented systems would be appreciated. NOTE - This is a gui-based application. As such I was planning on taking an MVC approach (model is MySQL database, controller is code-behind class for GUI class, view is GUI class).

  2. java - How can I best apply OOP principles to games and other

    Dec 19, 2008 · Here is a simple (but effective) OO design to get you started: First create a Game object that is pure Java/C# code. With no UI or anything else platform specific. The Game object handles a Board object and a Player object. The Board object manages a number of Tile objects (where the mines are).

  3. GUI Programming - Java Programming Tutorial

    The goal of Java GUI programming is to allow the programmer to build GUI that looks good on ALL platforms. JDK 1.0's AWT was awkward and non-object-oriented (using many event.getSource()). JDK 1.1's AWT introduced event-delegation (event-driven) model, much clearer and object-oriented.

  4. Creating User-Friendly GUIs with Object-Oriented Programming

    Jul 7, 2024 · In this tutorial, we’ll examine how OOP concepts enable programmers to design aesthetically pleasing, very responsive, and useful graphical user interfaces. Developers may create modular, reusable, and easily maintainable GUI components using ideas like encapsulation, inheritance, and polymorphism.

  5. A major part of creating a graphical user interface in Java is figuring out how to position and lay out the components of the user interface to match the appearance you desire.

  6. How do i design a Paint Application like MS Paint using JAVA OOps

    Feb 23, 2023 · 1.draw(); 2.color(String color); Then i created 3 classes "Circle", "Line" and "Rectangle" and implemented the "Shape" Interfaces and gave method definition to draw() and color() in all the three classes.

  7. Introduction to Java Swing - GeeksforGeeks

    Jul 30, 2024 · Java AWT is an API to develop GUI applications in Java. Swing is a part of Java Foundation Classes and is used to create various applications. Components of AWT are heavy weighted.

  8. (PDF) Object Oriented Programming (OOP) GUI (Graphical User Interface ...

    This paper introduces the fundamentals of Graphical User Interface (GUI) development using Object Oriented Programming (OOP) principles. It contrasts traditional command-line interfaces with GUIs, emphasizing their event-driven programming model.

  9. GitHub - sajjad6ansari/OOP-Lab-Assignment: Java assignments …

    This assignment is designed to deepen your understanding of Object-Oriented Programming (OOP) concepts, Java programming, and UML diagrams. The tasks cover a wide range of topics, from basic Java syntax to advanced concepts such as multithreading, exception handling, and design principles.

  10. Drawing Q: How to get Java GUI on screen? Q: How do you get some GUI components on screen? A: Create a window (also known as a "frame") object. Install components --labels, buttons, etc. -- in its content area. The system will manage the window and components, sending them notifications as user events happen (drawing, clicking, typing).

  11. Some results have been removed
Refresh