FormViewer for Jabaco *.jsrc files
If you want to show a GUI-Jabaco Sourcefile on other systems then Windows. Or you want to see a GUI file without installing Jabaco on an computer, then it is now possible.
Download this file:
FormViewer.jar
It is an executable jar-file.
You can start it with
java -jar FormViewer.jar
in a console. Or double click on it in the Exlorer of Windows.
After that cliock in the menu "File" -> "Open...".
Navigate to the directories and files to a Jabaco-Sourcecode file with GUI (a Form, Applet, etc. Not a Module or Class file).
For example choose from the Jabaco Samples in the directory "Calculator" the file "frmMain.jsrc".
Then it looks like on that attached screenshot.
I am sorry, that it is still buggy. But I am not a developer.
Download this file:
FormViewer.jar
It is an executable jar-file.
You can start it with
java -jar FormViewer.jar
in a console. Or double click on it in the Exlorer of Windows.
After that cliock in the menu "File" -> "Open...".
Navigate to the directories and files to a Jabaco-Sourcecode file with GUI (a Form, Applet, etc. Not a Module or Class file).
For example choose from the Jabaco Samples in the directory "Calculator" the file "frmMain.jsrc".
Then it looks like on that attached screenshot.
I am sorry, that it is still buggy. But I am not a developer.
Hi,you do not share the sourcecode, do you?
Quoted
I am sorry, that it is still buggy. But I am not a developer
regards
OlimilO
Here is it:
FormViewer-src.zip
But it is written in Java not Jabaco.
Quoted
it is still buggy.
at first glance the sourcecode looks good to me.
what kind of problems/bugs are there to expect?
Some Forms are not right shown.
At the moment it can not handle with IResource and so on. I am not sure what happens, when a UserControl is added to a Form, etc.
Try it out. You will see, that not all sample running ok.
This have also to do, that the main ty-catch block (in ComponentArea.java) assumed that all runs ok.
If it comes to an error and "catch" is used, then the method will be ended.
XML-instructions (Heigh, Whith, Color of a control and so on) which are for a control on it, comes then to the control itself.
Oh, and I have forgotton to mention the prolem with Timer and so on.
VBTimer or Timer is no normal control. So it is not derived from JComponent or Component.
The JPanel can with "add" only things with "Component" and above.
So it comes to an error, to add such a control. In the Jabaco-IDE it have its place. But if you compßile it,it is not visible.
So this have also to be catched.
VBTimer or Timer is no normal control. So it is not derived from JComponent or Component.
The JPanel can with "add" only things with "Component" and above.
So it comes to an error, to add such a control. In the Jabaco-IDE it have its place. But if you compßile it,it is not visible.
So this have also to be catched.
Little update
Have updated it.
The updated versions are on the same place like before the old one:
FormViewer.jar
FormViewer-src.zip
+ Now it loads all Forms
+ It shows additional Timer and so on
- It still don't set all Properties. It still don't understamd the properties from enums.
Greatings
theuserbl
The updated versions are on the same place like before the old one:
FormViewer.jar
FormViewer-src.zip
+ Now it loads all Forms
+ It shows additional Timer and so on
- It still don't set all Properties. It still don't understamd the properties from enums.
Greatings
theuserbl
Updated files:
FormViewer.jar
FormViewer-src.zip
+ Nearly all is now correct shown
- Still a little bug with scrollbars, which are sometimes complete gray and only shown, when the mouse goes over it.
Resources can not be shown (like pictures inside), because some needed information are in the project file (.jba), but I only handle the pure sourcefile (.jsrc) to show it .
Please test it!
And tell me here, if you find bugs in that program.
Greatings
theuserbl
FormViewer.jar
FormViewer-src.zip
+ Nearly all is now correct shown
- Still a little bug with scrollbars, which are sometimes complete gray and only shown, when the mouse goes over it.
Resources can not be shown (like pictures inside), because some needed information are in the project file (.jba), but I only handle the pure sourcefile (.jsrc) to show it .
Please test it!
And tell me here, if you find bugs in that program.
Greatings
theuserbl
This post has been edited 3 times, last edit by "theuserbl" (Jun 19th 2011, 5:29am)
Similar threads
-
General topics, questions and discussions »-
Tree Node Key
(Dec 3rd 2010, 8:11pm)
-
Tips, Tricks, Samples & Tutorials »-
Frameworktest JAR as source?
(Jan 27th 2011, 12:26pm)
-
History & News »-
New Version
(Jan 19th 2010, 4:04pm)
-
General topics, questions and discussions »-
In which revision of works the ant way correct?
(Oct 21st 2010, 6:24pm)
-
Suggestions »-
Language mix
(Sep 14th 2009, 11:28pm)
