Coder Social home page Coder Social logo

netbeans-samples's Introduction

netbeans-samples

Netbeans Platform samples

Here you'll find fully working Netbeans Platform based application demos on how to accomplish different pretty standard application features. It's nowhere near complete or ready to be used as an example for most things, but it's a start for a discussion and hopefully some community participation. :-)

How to participate

Filing a "bug" report is the easiest :-) I'm very open to any other contributions people may have.

nodes/node-samples

Shows a BeanTreeView backed by a SQL database through a loosely coupled DAO implementation. The BeanTreeView shows a tree structure of Categories (nodes).

The Nodes have the following capabilities added to them

  • Create new child category
  • Rename category
  • Delete/remove category

Through WeakListeners registered on the entity classes the UI is kept current.

Undo/Redo + Savable

ProductEditor now supports undo/redo for product name and description (in the "editor" part, not the table). It's just a very simple example and could use some usability improvements. Warning when changing into a fresh state from a dirty one etc.

SQL Setup (db-manager module)

There is an Database Server Manager available in the application where you can define your server settings. It's limited to MySQL and PostgreSQL for now. There is an option for tunneling, but it's not implemented quite yet. On connect it sets up the small sample table needed for the Nodes, it will do this every time you connect. It's recommended to use the username "netbeans-samples", if not you should probably take a look at mysql.sql and/or postgresql.sql

NbPreferences

The SQL Server settings are stored using NbPreferences, so it might be something to take a gander at. Located in the db-manager module.

JdbcTemplate (Database communication)

DAOs and mapper located in the 'domain-dao' module. Shows one way of putting this all together, some junk code as of now.

netbeans-samples's People

Contributors

flinkgutt avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.