Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hasnatrasool163/mindmap-in-java

This repository contains a small mindmap application implemented in javaswing and awt !
https://github.com/hasnatrasool163/mindmap-in-java

awt-gui java javaawt javaswing javaswingsapp mindmap mindmap-editor mindmap-visualizer mindmaps

Last synced: about 1 month ago
JSON representation

This repository contains a small mindmap application implemented in javaswing and awt !

Awesome Lists containing this project

README

        

# MindApp: A Java Swing Mind Mapping Tool

MindApp is a mind mapping tool developed with Java Swing, providing an intuitive interface for creating and managing complex mind maps. It leverages Java AWT and Swing components for rendering and allows users to interact with the mind map nodes through a graphical interface. Users can add, edit, delete nodes, and export the mind map to PNG or XML formats.

## Features

- **Interactive Mind Map Creation**: Easily add and arrange nodes with drag-and-drop.
- **Node Editing**: Double-click on any node to edit its text.
- **Add Child Nodes**: Right-click on a node to add child nodes, facilitating the creation of complex hierarchical structures.
- **Customize Node Color**: Personalize your mind map by changing the node colors.
- **Export Options**: Export your mind map to PNG for image format or XML for data preservation.

## ScreenShot

![Screenshot (796)](https://github.com/Hasnatrasool163/MindMap-in-java/assets/153990457/f8b1bd12-0492-40a8-b3bf-79f8f6feac59)

## Getting Started

To run MindApp, ensure you have Java installed on your system. You can check by running `java -version` in your terminal. If Java is not installed, please install the latest version from [Oracle's Java SE Downloads](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) or adopt an OpenJDK variant like [AdoptOpenJDK](https://adoptopenjdk.net/).

### Prerequisites

- Java Development Kit (JDK) 8 or higher.

### Running MindApp

1. Clone the repository or download the source code.
2. Navigate to the source code directory.
3. Compile the code using the Java compiler:

javac MindMapApp.java

->Run the compiled class with Java:

java MindMapApp

How to Use
Upon launching MindApp, you're greeted with a blank canvas and a root node. Here's how to get started:

Add a Node: Right-click on the canvas to add a new root-level node.
Edit Node Text: Double-click on a node to edit its text.
Add Child Node: Right-click on a node and select "Add Child Node" to add a child node.
Change Node Color: Right-click on a node and select "Change Color" to personalize the node color.
Delete a Node: Right-click on a node and select "Delete Node" to remove the node and its children.
Move a Node: Click and drag any node to reposition it on the canvas.
Export: Right-click on the canvas and choose "Export to PNG" or "Export to XML" to export your mind map.
Contributing
Contributions are welcome! Please feel free to submit pull requests, report bugs, or suggest features.

License
MindApp is free to use and you can expand it according to own preference and personal choice.

Acknowledgments
Java Swing and AWT libraries for providing the graphical user interface components.