|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
AboutPane | AboutPane is a window that contains various advanced user tools in one place. |
Desktop | The Desktop is the user's view of BibleDesktop. |
Desktop.DesktopRunner | Helper class to actually display the application at the right time. |
Desktop.DesktopThread | Helper class to run the application in a thread group and capture errors. |
DesktopActions | DesktopAction is nothing more than a holder of the behavior of the Desktop. |
DesktopActions.ShowSideBarVisitor | |
Msg | Compile safe Msg resource settings. |
Splash | A Simple splash screen. |
StatusBar | The status bar provides useful info to the user as to the current state of the program. |
Translations | Translations provides a list of languages that BibleDesktop has been translated into. |
ViewSourcePane | ViewSourcePane allow viewing of some text in its own standalone frame. |
XSLTProperty | Defines properties that control the behavior of translating OSIS to HTML. |
The swing section is in charge of turning the XML from the source section into a screen view.
I am currently using LotusXSL to automatically turn the XML data into HTML and display this using the JDK Swing HTML component. This will allow me to generate custimizable views - so that an AV source can be displayed like the AV is usually printed, and an NIV/NKJV source to have paragraph formatting etc. (Or even a more mix and match system)
I also use a component called BSH (BeanShell) to give me a scripting environment to test code. This may become part of the final interface as it provides a significant amount of power to the user.
The current display code is very rough though. I have not spent very much time on it because I think that there are tools on the way out that will significantly help Java GUI development.
I've stopped working on this package at the moment to concentrate on other sections. I am noting idea that I come across though.
Things to try:
table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); table.getColumnModel().getColumn(index).setPreferredWidth(width); table.sizeColumnsToFit(-1);
|
Copyright ยจ 2003-2007 | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |