开发者

Seek a Java advanced tree component (include Windowless Richedit Control function)

开发者 https://www.devze.com 2023-01-12 15:46 出处:网络
I love BooguNote very much (it\'s a Sharp tool for collecting and organizing information scraps) But what a pity it just run under windows currently.

I love BooguNote very much (it's a Sharp tool for collecting and organizing information scraps) But what a pity it just run under windows currently.

I tried to build a Java version for BooguNote so I can run it under linux (first step: I want to just make a simple BooguViewer ) since I'm not very familiar with so huge Java libraries, so I ask for help who know the suitable Java tree component in this case.

My requirement is this:

it's not an usual tree component, as you can check from the BooguNote's screenshot as below: http://boogu.m开发者_如何学JAVAe/en.jpg

Usual tree is used as an outline, but in BooguNote, tree node was used as a content container at the same time - you can even save a huge text in it! (I heard the author said in the forum before he used "Windowless Richedit Control" technology).

Any advices are welcome, Thanks in advance.


This Oracle tutorial tells you how to create graphical user interfaces (GUIs) for applications and applets, using the Java Swing components.

Start with the Using Swing Components tutorial. Go through the following top-level lessons:

  • Using Top-Level Containers
  • The JComponent Class
  • Using Text Components

Go through the following component lessons:

  • How to Make Frames (Main Windows)
  • How to Use Panels
  • How to Use Trees

The Swing components that you want to use to make a viewer are JFrame, JPanel, and JTree.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号