Sorry I forgot :

I have a doc for JFreeChart.

Eric

2007/10/30, Eric Lemesre <[EMAIL PROTECTED]>:
>
> Stefan,
>
> zip file is filtred by SF you can look all files in
> http://elprod.free.fr/chartPlugIn/download/
>
> Eric
>
> 2007/10/30, Eric Lemesre <[EMAIL PROTECTED]>:
> >
> > Stefan,
> >
> > BarChartPlugin is not in SIGLE repository i send the code in
> > attachement.
> > I have JFreeChart documentation. I purchase it for 40 Euro
> >
> > Eric
> >
> >
> > 2007/10/30, Stefan Steiniger < [EMAIL PROTECTED]>:
> > >
> > > Hei Eric,
> > >
> > > i will have a look on that SIGLE plugin too.. should be somewhere on
> > > my
> > > desktop. Actually the problem with JFreeChart is that one needs a doc.
> > >
> > > @Sunburned: I did not use a JDialog yet - only a frame. But I am going
> > > to try the dialog next.*)
> > > I also recognized, that the screen-errors appear if I put OpenJUMP in
> > > background, i.e. Eclipse on top, and then again on top. The histo-plot
> > > is fine, but not OJ.
> > >
> > > stefan
> > >
> > > *) I tried.. and it does not work as well whith a Dialog. Seems like
> > > there is no other way then looking in the sourcecode of jmathplot.
> > >
> > > Eric Lemesre schrieb:
> > > > Hi Stefan,
> > > >
> > > > I am an for nothing ;-)
> > > > I am working on plugin derivate from ChartPlugin intitaly writen by
> > > Erwan.
> > > > It build Histogram from a layer.And this plugin work with
> > > JFreeChart.
> > > > this library is very nice for build, export and print charts.
> > > > If you want i can post the code.
> > > >
> > > > Eric
> > > >
> > > > 2007/10/29, Sunburned Surveyor < [EMAIL PROTECTED]>:
> > > >> Stefan,
> > > >>
> > > >> I am not a GUI expert either, but I may have some information that
> > > can
> > > >> help. My SuperSelect program opens a JInternal frame for its
> > > >> configuration form. From this form I can sucessfully launch another
> > > >> JInternal frame for context sensitive help, as you can see in the
> > > >> attached screenshot.
> > > >>
> > > >> I have no problem with painting when I move either the help frame
> > > or
> > > >> the configuration frame.
> > > >>
> > > >> This makes me wonder if the problem is with launching a JDialog
> > > class
> > > >> from a JInternalFrame. Could you try switching your JDialog classes
> > > to
> > > >> JInternal frames to see if this solves the problem?
> > > >>
> > > >> Landon
> > > >>
> > > >> On 10/28/07, Larry Becker <[EMAIL PROTECTED] > wrote:
> > > >>> Hi Stefan,
> > > >>>
> > > >>>   You have wandered into deep waters, and I have no life preserver
> > > to
> > > >> toss
> > > >>> to you except the advice that it might be easier if you could
> > > reorganize
> > > >>> your Histogram functionality so that it doesn't have to launch
> > > dialogs
> > > >> from
> > > >>> your own frame.  Failing that, you may need to extend
> > > JInternalFrame
> > > >> rather
> > > >>> than instantiating one.
> > > >>>
> > > >>> regards,
> > > >>>
> > > >>> Larry
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>> On 10/27/07, Stefan Steiniger < [EMAIL PROTECTED]> wrote:
> > > >>>> Hei Guys,
> > > >>>>
> > > >>>> as I am not firm at all with GUI programming it would be nice if
> > > >>>> somebody could help me with the new Histogram function.
> > > >>>>
> > > >>>> What do I do:
> > > >>>> 1) created a threaded plugin
> > > >>>> 2) obtain in "execute" some params (Attribute type and number of
> > > >> ranges)
> > > >>>> 2) call inside "run" the following code that creates a Histogram
> > > Plot
> > > >>>> (note: i use jmathplot library)
> > > >>>>
> > > >>>>          final Plot2DPanel plot = new Plot2DPanel();
> > > >>>>          plot.addHistogramPlot(this.selAttribute , data,
> > > this.ranges);
> > > >>>>          JInternalFrame frame = new JInternalFrame("Histogram");
> > > >>>>          frame.setLayout (new BorderLayout());
> > > >>>>          frame.add(plot, BorderLayout.CENTER);
> > > >>>>          frame.setVisible (true);
> > > >>>>          context.getWorkbenchFrame().addInternalFrame(frame);
> > > >>>>
> > > >>>>
> > > >>>> the problem:
> > > >>>> ============
> > > >>>> The Plot-panel/Frame for the Histogram contains buttons that
> > > activate
> > > >>>> some other dialogs. For instance a FileChooser to save the plot
> > > as png
> > > >>>> image.
> > > >>>> If I activate the button the new dialog is only partly visible
> > > and the
> > > >>>> openjump GUI is not redrawn while moving the dialog. (see
> > > attached
> > > >>>> image). Interestingly the histogram plot panel seems to be
> > > redrawn but
> > > >>>> not the histogram frame.
> > > >>>>
> > > >>>> I tried as well to make a new menu within the Histogram Frame
> > > with the
> > > >>>> code below. But the problem persists, i.e. the FileChooser is
> > > only
> > > >>>> partly visible and causes graphical errors to the JUMP GUI.
> > > >>>>
> > > >>>>
> > > >>>> Any idea how avoid that the SaveDialog (or any other dialog
> > > called)
> > > >>>> causes graphical errors (i guess threading is the solution - but
> > > how?)
> > > >>>>
> > > >>>>
> > > >>>> stefan
> > > >>>>
> > > >>>> source-code for calling file dialog and saving the plot-image:
> > > >>>> ======================================
> > > >>>> JMenuBar menuBar = new JMenuBar();
> > > >>>> frame.setJMenuBar(menuBar);
> > > >>>> JMenu mTools = new JMenu("Tools");
> > > >>>> menuBar.add(mTools);
> > > >>>>
> > > >>>> mTools.add(new AbstractAction("Save Image as PNG File",
> > > >>>>         IconLoader.icon("disk.png")) {
> > > >>>>                         public void actionPerformed(ActionEvent
> > > e){
> > > >>>>                 java.io.File file =
> > > >>>>
> > > >>> CreateHistogramPlugIn.selectFile(context);
> > > >>>>                 if (file != null){plot.toGraphicFile(file);}
> > > >>>>                   });
> > > >>>>
> > > >>>> =======  using: =================
> > > >>>> public static File selectFile(PlugInContext context){
> > > >>>>   JFileChooser fc =
> > > >>>>
> > > >>> GUIUtil.createJFileChooserWithOverwritePrompting("png");
> > > >>>>         fc.showSaveDialog(context.getWorkbenchFrame());
> > > >>>>         File file = fc.getSelectedFile();
> > > >>>>         try{
> > > >>>>                 String name = file.getPath ();
> > > >>>>                 name =
> > > >>> CreateHistogramPlugIn.addExtension(name,"png");
> > > >>>>                         File newFile = new File(name);
> > > >>>>                         return newFile;
> > > >>>>         }
> > > >>>>         catch(Exception e){
> > > >>>>                 return null;
> > > >>>>         }
> > > >>>> }
> > > >>>> =====================================
> > > >>>>
> > > >>>>
> > > >>
> > > -------------------------------------------------------------------------
> > > >>>> This SF.net email is sponsored by: Splunk Inc.
> > > >>>> Still grepping through log files to find problems?  Stop.
> > > >>>> Now Search log events and configuration files using AJAX and a
> > > >> browser.
> > > >>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > >>>> _______________________________________________
> > > >>>> Jump-pilot-devel mailing list
> > > >>>> Jump-pilot-devel@lists.sourceforge.net
> > > >>>>
> > > >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> > > >>>>
> > > >>>>
> > > >>>
> > > >>>
> > > >>> --
> > > >>> http://amusingprogrammer.blogspot.com/
> > > >>>
> > > >>
> > > -------------------------------------------------------------------------
> > > >>> This SF.net email is sponsored by: Splunk Inc.
> > > >>> Still grepping through log files to find problems?  Stop.
> > > >>> Now Search log events and configuration files using AJAX and a
> > > browser.
> > > >>> Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > >>> _______________________________________________
> > > >>> Jump-pilot-devel mailing list
> > > >>> Jump-pilot-devel@lists.sourceforge.net
> > > >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> > > >>>
> > > >>>
> > > >>
> > > -------------------------------------------------------------------------
> > > >> This SF.net email is sponsored by: Splunk Inc.
> > > >> Still grepping through log files to find problems?  Stop.
> > > >> Now Search log events and configuration files using AJAX and a
> > > browser.
> > > >> Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > >> _______________________________________________
> > > >> Jump-pilot-devel mailing list
> > > >> Jump-pilot-devel@lists.sourceforge.net
> > > >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > ------------------------------------------------------------------------
> > > >
> > > >
> > > >
> > > ------------------------------------------------------------------------
> > > >
> > > >
> > > -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by: Splunk Inc.
> > > > Still grepping through log files to find problems?  Stop.
> > > > Now Search log events and configuration files using AJAX and a
> > > browser.
> > > > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > >
> > > >
> > > >
> > > ------------------------------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > Jump-pilot-devel mailing list
> > > > Jump-pilot-devel@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> > >
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems?  Stop.
> > > Now Search log events and configuration files using AJAX and a
> > > browser.
> > > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > _______________________________________________
> > > Jump-pilot-devel mailing list
> > > Jump-pilot-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> > >
> >
> >
> >
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to