Update for final release

2024-04-11 Thread Roger Whitcomb
notes have been prepared, I think we’re just a build and a vote away from the final release, and then retirement, so … Many thanks, ~Roger Whitcomb PMC Chair - Apache Pivot project ASF Member P.S. The attached “logs.calc” script can be run by the “Calc” program, built from the repository at: https

RE: Desktop HelloBXML in NetRexx without package statement;Cool stuff!

2018-01-09 Thread Roger Whitcomb
Totally agree with your impressions ☺ NetRexx looks like a nice approach to getting something working quickly and easily. Let us know how things go. Feel free to ask if you have questions or run into issues. Thanks, ~Roger From: Jason Martin [mailto:agrel...@gmail.com] Sent: Monday, January

Plans for 2.1 features

2017-12-12 Thread Roger Whitcomb
for real Mac menus (easy) I have much more I've been thinking about, but I don't have time to mention them all here. Hopefully this will whet your appetite as to what is coming up. Thanks, Roger Whitcomb

Expanded way to customize the look-and-feel of Pivot applications

2017-11-30 Thread Roger Whitcomb
me comments. I intend for this to go into the 2.1 release, and should be one of the signature improvements for that release. The possibility of drastic slowdown of applications or windows with lots of controls is disturbing me a bit, so that warrants careful scrutiny going forward. Thanks, Roger Whitcomb

Upcoming 2.0.5 release

2017-06-12 Thread Roger Whitcomb
code improvements, including fixing the Nashorn scripting engine (Java 8) compatibility. So, this will be a good release as well, but probably not ready for another few months. Thanks, Roger Whitcomb

RE: Pivot update

2017-03-13 Thread Roger Whitcomb
Hi Jamal, That capability isn’t there yet, but seems like it would be a reasonable thing to do next. Also, there is an existing issue to add Input Method Editor support to the text controls. ~Roger From: Jamal BERRICH [mailto:jberr...@gmail.com] Sent: Sunday, February 26, 2017

Re: Beginning basic pivot application

2016-04-28 Thread Roger Whitcomb
ecific error -- I assume you tried to run your program > from the command line?! Did you create a .jar file? We're you using > ScriptApplication? What was the exact command line that you used?? The more > details you give us, the easier it will be to help. > > Thanks, > ~

Re: BXMLSerializer: different handling of script return values

2016-04-22 Thread Roger Whitcomb
Okay, I created issue Pivot-987 (https://issues.apache.org/jira/browse/PIVOT-987) for you with the complete description from your original email. Go ahead and comment on it, add a patch, or whatever you'd like. Thanks, ~Roger From: Roger Whitcomb

Re: BXMLSerializer: different handling of script return values

2016-04-22 Thread Roger Whitcomb
description, etc. and I will create it for you. Sorry about this. I'll see what I can do to fix this for you. Thanks, ~Roger Whitcomb Sent from my iPhone > On Apr 22, 2016, at 8:01 AM, Roger Whitcomb > wrote: > > I just tried it and going in from pivot.apache.org if I click on t

Re: BXMLSerializer: different handling of script return values

2016-04-22 Thread Roger Whitcomb
I just tried it and going in from pivot.apache.org if I click on the red "Create" button, Pivot shows up at the top but doesn't show up later in "All Projects". So just try again. Or I can create the issue and you can comment on it. ~Roger Whitcomb Sent from my iPho

RE: MVC application

2016-04-21 Thread Roger Whitcomb
Hi Tom, So, I think the hooks you're looking for are already in place. This is the reason that all the Pivot components specify using Pivot Collections classes instead of the default Java Collections. The difference is that the Pivot Collections implement Listeners for changes

RE:

2016-04-21 Thread Roger Whitcomb
Hi Josh, That just looks like a bug to me. Can you file a JIRA and provide a patch along with, and I will commit the change… Thank you! ~Roger From: Josh Highley [mailto:joshhigh...@gmail.com] Sent: Thursday, April 21, 2016 12:15 PM To: user@pivot.apache.org Subject: In my bxml

RE: Populate ListButton with enum data binding ?

2016-04-14 Thread Roger Whitcomb
So, the technical reason you go the error is that BXMLSerializer must be able to find a simple no-arg constructor for the class (in this case EnumList) in order to construct it, before adding data elements using the “add” method. There is no such constructor for EnumList (nor could there be, si

RE: Editing "disabled" TableView column data

2016-02-10 Thread Roger Whitcomb
Yes, the row editors can be messy to setup. Every time I’ve done it, there is a ton of code. Likely a chance for some new features for version 2.1 ;) Would it help if I dig up some examples? One thing I can think of about read-only columns is to just render a Label there, or you could put in

RE: Editing "disabled" TableView column data

2016-02-09 Thread Roger Whitcomb
ivot\tests\data_binding_test.bxml Transmitting file data .. Committed revision 1729493. ~Roger From: Roger Whitcomb Sent: Tuesday, February 09, 2016 2:08 PM To: user@pivot.apache.org Subject: RE: Editing "disabled" TableView column data Okay, I have fixed this test program, and added explanatory stuff

RE: Editing "disabled" TableView column data

2016-02-09 Thread Roger Whitcomb
Coleman [mailto:t...@soaringclub.org] Sent: Tuesday, February 09, 2016 12:21 PM To: user@pivot.apache.org Subject: Re: Editing "disabled" TableView column data It's comforting to know that "it's not me". ;-) I'll watch the trunk for changes. Thanks! Tom

RE: Editing "disabled" TableView column data

2016-02-09 Thread Roger Whitcomb
The canonical example of how data binding is *supposed* to work would be to look into Spinner.java, in the "load" and "store" methods. There is a several step process there involving not only the data bindings (there can be several), but also the JSON.get() and JSON.put() methods. Sorry I wasn

RE: Editing "disabled" TableView column data

2016-02-09 Thread Roger Whitcomb
Hi Tom, I can't make any sense out of that code either! I'll try to clean it up to make it usable. Thanks, ~Roger From: Tom Coleman [mailto:t...@soaringclub.org] Sent: Tuesday, February 09, 2016 8:31 AM To: user@pivot.apache.org Subject: Re: Editing "disabled" TableView column d

RE: Maven build and javadoc

2016-01-20 Thread Roger Whitcomb
to be able to >> generate and publish jar files in main Maven repository (central). >> But all is driven by our Ant build; there is a dedicated task to let >> Ant maven task (related jar is needed in CLASSPATH in this case) to >> generate and install maven compatible jars

RE: Maven build and javadoc

2016-01-19 Thread Roger Whitcomb
Actually, I think the biggest problem is that our project directory structures don't conform to the standard Maven conventions (see https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html) and I don't see any project descriptor settings that would change t

RE: Maven build and javadoc

2016-01-19 Thread Roger Whitcomb
Hi Tom, Welcome to Pivot! Two (hopefully helpful) answers: 1. I don't usually use Maven to build Pivot, but if you change the @VERSION@ in the "pom.xml" you will get that version in the file names. 2. I *think* we are missing Javadoc plugin information in the "pom.xml", but I'm s

RE: Re:

2015-12-07 Thread Roger Whitcomb
ed in the scrollpane. On Tue, Dec 1, 2015 at 7:50 PM, Roger Whitcomb mailto:roger.whitc...@actian.com>> wrote: Well, this definitely solves the alignment problem. I’m still struggling with getting the image to do the right thing as far as sizing. I’m wondering if you will

RE: Re:

2015-12-01 Thread Roger Whitcomb
does removing the Border component gain me something with regards to centering? On Tue, Dec 1, 2015 at 12:32 PM, Roger Whitcomb mailto:roger.whitc...@actian.com>> wrote: I also noticed the image artifacts, so that is a bug we need to fix. So, could you try this hierarchy and see if it wor

RE: RE:

2015-12-01 Thread Roger Whitcomb
facts of the image remaining on the right side and bottom side. If you set your demo's Border element to have a thicker border, it becomes more apparent. Thanks, Josh On Mon, Nov 30, 2015 at 7:59 PM, Roger Whitcomb mailto:roger.whitc...@actian.com>> wrote: Take a look at the “Sc

RE: RE:

2015-11-30 Thread Roger Whitcomb
: No, I wasn't aware that existed. I found the Border method suggested by a past mailing list question so I went with it. I I'll look at ScaleDecorator instead. Thanks Josh On Nov 30, 2015 5:21 PM, "Roger Whitcomb" mailto:roger.whitc...@actian.com>> wrote: Hi Josh,

RE:

2015-11-30 Thread Roger Whitcomb
: Roger Whitcomb Sent: Monday, November 30, 2015 3:21 PM To: user@pivot.apache.org Subject: RE: Hi Josh, Welcome to Pivot! Have you looked at using a ScaleDecorator on your ImageView? This may work better than adjusting the Border size. And it has settings for the alignment (left

RE:

2015-11-30 Thread Roger Whitcomb
implement a small example. Sorry there isn’t one already in the examples part of the code…. Let us know, ~Roger Whitcomb From: Josh Highley [mailto:joshhigh...@gmail.com] Sent: Monday, November 30, 2015 2:08 PM To: user@pivot.apache.org Subject: I need help getting an image to display centered

RE: JAVA 8 bxml script variables not working

2015-11-02 Thread Roger Whitcomb
hy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) > > regards, > Mark. > > -Ori

Re: JAVA 8 bxml script variables not working

2015-11-02 Thread Roger Whitcomb
DispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:8

RE: JAVA 8 bxml script variables not working

2015-10-30 Thread Roger Whitcomb
ing area public (one in my account at Apache, and another at BinTray), next time tell me so I can build and publish there snapshot artifacts ... just for info, Roger, how did you build those jars (using latest JDK 7 or 8) and usual build task in ant, right ? Bye, Sandro 2015-10-29 21:56 GMT+01:00

Re: JAVA 8 bxml script variables not working

2015-10-29 Thread Roger Whitcomb
Hi Mark, I have emailed the .zip file to your personal email (i.e., not the list). ~Roger From: m...@mrchambers.org Sent: Thursday, October 29, 2015 12:37 AM To: user@pivot.apache.org Subject: RE: JAVA 8 bxml script variables not working Hi Roger, You c

RE: open context menu programmatically

2015-09-24 Thread Roger Whitcomb
Nice! -Original Message- From: tryfon [mailto:tryfon.sterg...@avl.com] Sent: Thursday, September 24, 2015 2:49 AM To: user@pivot.apache.org Subject: Re: open context menu programmatically Finally i created a dialog and i removed the title bar... -- View this message in context: http:

RE: open context menu programmatically

2015-09-24 Thread Roger Whitcomb
Hi, welcome to Pivot! Yes, there is. In the tutorials section there are several tutorials on menus, including one on context menus (see here: http://pivot.apache.org/tutorials/context-menus.html). This shows how to implement one using the standard right mouse click (by registering a MenuHand

Re: Remove default toolbar with close/resize buttons

2015-08-31 Thread Roger Whitcomb
s works during Pivot initialization. HTH, ~Roger ________ From: Roger Whitcomb Sent: Monday, August 31, 2015 4:05 PM To: user@pivot.apache.org Subject: Re: Remove default toolbar with close/resize buttons Hi and welcome to Pivot. I'm in the middle of some other stuff, b

Re: Remove default toolbar with close/resize buttons

2015-08-31 Thread Roger Whitcomb
Hi and welcome to Pivot. I'm in the middle of some other stuff, but I did a little looking around on Stack Overflow and found this, which might help: http://stackoverflow.com/questions/7553146/java-awt-remove-frame-title-bar-and-add-customised-title-bar Basically you have to get the AWT window

RE: about adding a button UI in apache pivot TableView row

2015-05-26 Thread Roger Whitcomb
application because of this ;) Thanks, ~Roger Whitcomb From: Chun Hui [mailto:shinki.s...@gmail.com] Sent: Monday, May 25, 2015 11:55 PM To: user@pivot.apache.org Subject: about adding a button UI in apache pivot TableView row I'm trying to insert clickable UI controls into a pivot TableVi

RE: UI zooming and buttons detection in Apache Pivot at program start

2015-03-03 Thread Roger Whitcomb
been any changes related to this, but just as a point of reference. Again, thanks very much for using Pivot, and I hope we can resolve this issue shortly. ~Roger Whitcomb -Original Message- From: vmuu...@fastmail.com [mailto:vmuu...@fastmail.com] Sent: Tuesday, March 0

Anyone using ...?

2015-01-15 Thread Roger Whitcomb
at we could work on for future versions to more easily / compactly support these newer languages. Thanks, ~Roger Whitcomb

RE: Data Binding and Accordion Headers

2014-09-30 Thread Roger Whitcomb
ns. It was your text field comment that spurred me to think of the alternative route. Thanks for the responses, always appreciate the feedback. -Nick Sent from my iPhone On Sep 30, 2014, at 3:39 PM, Roger Whitcomb wrote: Hi again, It just occurred to me that you don't really need

RE: Data Binding and Accordion Headers

2014-09-30 Thread Roger Whitcomb
Hi again, It just occurred to me that you don't really need to use data binding in order to accomplish this. Just hook up a ButtonGroupListener, and in the "selectionChanged" method just update the accordion header data accordingly. I've done this with TabPane, where typing into a text

RE: Changes to skin colors etc in Pivot 2.1.0

2014-09-03 Thread Roger Whitcomb
It has come up with our application that the default Pivot theme font (which is "Verdana 11") does not support (on Windows at least) a lot of the Unicode character set, particularly: Chinese, Korean, and Japanese (and probably others as well). This doesn't work well for us since we are now pene

RE: Custom Accordion Headers

2014-08-12 Thread Roger Whitcomb
Hi Nick, Welcome to Pivot! Honestly, I haven't done much work with the Accordion component, but in looking through the code it appears that the appearance is entirely controlled by the header data renderer and by the "buttonBackgroundColor" and "borderColor" of the component skin

RE: How to set alignment of TableView

2014-08-05 Thread Roger Whitcomb
So, the header data is rendered with an instance of a TableViewHeaderDataRenderer (by default), which itself is a subclass of BoxPane and contains an Image and a Label component as children. There are two relatively easy ways to center things: 1. Get the default header data renderer and set the

RE: New style attribute for do not draw border in components (for 2.1)

2014-07-28 Thread Roger Whitcomb
I would say buttons, and most other components, look good this way. TabPane looks a bit weird to have the tabs hanging there with no frame underneath But, overall I'd say having the option is good, if you can selectively turn on/off for selected components. ~Roger -Original Message--

RE: Swing and Pivot Integration using JPanel

2014-07-22 Thread Roger Whitcomb
Thanks, Gunnar. I will look at this probably tomorrow. ~Roger From: moosbusch [mailto:gkap...@web.de] Sent: Monday, July 21, 2014 9:44 AM To: user@pivot.apache.org Subject: Re: Swing and Pivot Integration using JPanel Hi Roger, I've been able to provide a little app that suffers from the issu

Re: Swing and Pivot Integration using JPanel

2014-07-19 Thread Roger Whitcomb
Hi Gunnar, That's a very interesting find. I would be very interested if you share your code, or even just a minimal app that works. Thank you, ~Roger Whitcomb Sent from my iPhone > On Jul 19, 2014, at 10:36 AM, moosbusch wrote: > > Hi, > > I came across this thread

RE: Need help in changin alert Styles.

2014-07-15 Thread Roger Whitcomb
Welcome to Pivot! I guess the short answer is no, you would have to make changes to the Pivot code itself in order to do this. Do you have a screenshot you could share (using GIMP or whatever) as to how you would like things to look? I'm guessing you want to change the shape of the window fra

RE: LinkButton Formatting

2014-07-03 Thread Roger Whitcomb
Hi Nick, A few suggestions: 1. Since the Pivot LinkButton only supports the "color" and "disabledColor" styles right now (you can see that in TerraLinkButtonSkin.java), you could totally manage the colors yourself in your mouse handling. Sounds like you almost have this nailed. Maybe y

Re: Swing and Pivot Integration using JPanel

2014-06-12 Thread Roger Whitcomb
Do you have a JIRA account? You can go to https://issues.apache.org/jira/secure/Dashboard.jspa to create an account. Then go to here: https://issues.apache.org/jira/browse/PIVOT and click on the "Create Issue" button at the top. Then just fill in the fields. You will be able to attach the e

RE: Pivot theme

2014-06-03 Thread Roger Whitcomb
Hi Jamal, So, I’m assuming you want to change the RGB value of one of the theme colors to something different, is that true? If that’s what you want to do it is quite easy: Theme theme = Theme.getTheme(); theme.setColor(index, new Color(…)); But, note that you sho

RE: Swing and Pivot Integration using JPanel

2014-06-02 Thread Roger Whitcomb
you're doing. But, this is the crucial piece that we added to Pivot (access to the "Display" list) that is needed to make events / repaint work correctly. HTH, ~Roger Whitcomb -Original Message- From: Roger and Beth Whitcomb [mailto:rogerandb...@rbwhitcomb.com] Sent:

Re: Missing pivot-tutorials-2.03.jar in latest release

2014-04-02 Thread Roger Whitcomb
Hi Rendall, I will check into it. Thanks for the notice. ~Roger Whitcomb > On Apr 2, 2014, at 8:38 AM, Rendall Koski wrote: > > As a head's up, the page with the Hello World on the tutorial > https://pivot.apache.org/tutorials/hello-world.html contains the following >

RE: Unserialize an object in class constructor

2014-03-24 Thread Roger Whitcomb
create their children from bxml file. Of course I do understand that it's a matter of ones taste! Best Regards, Ilya A. Zimnovich On 24.03.2014 21:42, Roger Whitcomb wrote: > Hi Ilya, > Well, the answer is yes, but If your FinanceWindow.bxml has the > top-level object

RE: Error setting property "content"...

2014-03-24 Thread Roger Whitcomb
Noted that there could be improvement in our tutorial examples for desktop applications. Thanks, ~Roger -Original Message- From: Ilya Zimnovich [mailto:zimnov...@gmail.com] Sent: Monday, March 24, 2014 9:07 AM To: user@pivot.apache.org Subject: Re: Error setting property "content"... D

RE: Unserialize an object in class constructor

2014-03-24 Thread Roger Whitcomb
Hi Ilya, Well, the answer is yes, but If your FinanceWindow.bxml has the top-level object as a FinanceWindow, then if in the FinanceWindow constructor you load that bxml file, you will get into an infinite recursion. But, if your FinanceWindow.bxml has just the content of your win

Re: Alert and Prompt "OK" button Encoding

2014-03-12 Thread Roger Whitcomb
e Chinese version of that file. otherwise we could translate missing messages :-) , but someone should help us, volunteers ? Bye, Sandro 2014-03-12 16:12 GMT+01:00 Roger Whitcomb : Hi Jerry, Welcome to Pivot! So, I looked at your code from the link below. The "OK" text comes from

Re: Alert and Prompt "OK" button Encoding

2014-03-12 Thread Roger Whitcomb
Hi Jerry, Welcome to Pivot! So, I looked at your code from the link below. The "OK" text comes from a JSON file inside Pivot itself, and is not translated even in the Chinese version of that file. Since you are overriding the Theme font with the "PMingLiU" font, my first guess would be t

RE: Creating reusable component - How to register Skin?

2014-02-24 Thread Roger Whitcomb
Any subclass of Component can call the “setSkin( skin object )” themselves (and should) during the constructor. HTH, ~Roger From: bramp...@gmail.com [mailto:bramp...@gmail.com] On Behalf Of Andrew Brampton Sent: Saturday, February 22, 2014 8:04 AM To: user@pivot.apache.org Subject: Creating reu

RE: Adding Data into a Spinner from JAVA code?

2014-02-18 Thread Roger Whitcomb
apps logging interface, to keep a history of logged actions...) (Also being able to change the colour would be good too;]) //For example... String vMessage = "Hello!"; mSpinner.getSpinnerData().add(vMessage); //Or Label vMessage = new Label("Hello"); mSpinner.get

RE: Alerts loosing Focus When using Context Menu Items

2014-02-14 Thread Roger Whitcomb
Hi, We had similar problems in our application. The issue is that the process of closing the context menu puts focus back on the window it was invoked from, which takes focus away from the alert or popup or any other dialog, for that matter. We have a workaround, which involves a custom ski

Re: Pivot Capabilties

2013-12-21 Thread Roger Whitcomb
They still work for me: https://code.google.com/a/apache-extras.org/p/pivot-jfree/ ~Roger Whitcomb Sent from my iPhone > On Dec 21, 2013, at 7:30 AM, vinylherz wrote: > > Does someone still have the jGraph-Prototype for pivot? All links are down > ... > > > > -

Re: Getting keys from HashMap

2013-11-17 Thread Roger Whitcomb
Hi Ajay, No there isn't such a method. Wouldn't be too hard to do if you want to tackle it. I believe there is an existing issue about adding methods to Pivot Collections to bring them more in line with the Java ones. ~Roger Whitcomb Sent from my iPhone > On Nov 16, 2013

Re: TextPane and Document, how do I work with them?

2013-10-22 Thread Roger Whitcomb
Hi Wouter, I've been thinking about your idea/request, and I confess that I'm somewhat at a loss. So, basically you would *probably* need to create subclasses of some of the org.apache.pivot.wtk.text.Node classes, and the skins that go along with them. Although these *kind of* l

Re: Moving .bxml outside the package its called from.

2013-09-27 Thread Roger Whitcomb
y. Bottom line, this isn't anything unique to Pivot -- we just use the class' package location as a starting point for locating the resource using the standard Java mechanisms. HTH, ~Roger Whitcomb On 9/27/13 6:57 PM, David Heard wrote: Hello All, I am new to apache-pivot although I d

Re: How to express a newline in a Label within BXML?

2013-08-22 Thread Roger Whitcomb
So to set a newline in a bxml file you have to use the XML escape mechanism(s). That's all. For example: or ~Roger Whitcomb Sent from my iPhone On Aug 22, 2013, at 3:00 AM, Sandro Martini wrote: > Hi Erik, > you have reason, currently I find multiline label samp

Re: Custom List Item Renderer

2013-08-21 Thread Roger Whitcomb
Yes, that's correct. Let us know if you get stuck with that. ~Roger On Aug 21, 2013, at 9:59 AM, ben wrote: > Ok. So this was just a dummy run for me to see if it was possible to do > something similar with the treeview. I wanted to start with a simple > component. With the tree, I need to emb

Re: Custom List Item Renderer

2013-08-15 Thread Roger Whitcomb
renderer. HTH, ~Roger Whitcomb Sent from my iPhone On Aug 15, 2013, at 12:36 PM, ben wrote: > So I've followed the list tutorial on the website: > http://pivot.apache.org/tutorials/lists.html > > I've decided to make my own list, using a custom list item (it just has two &

Re: Javadoc for 2.0.3 appears to lack formatting

2013-08-14 Thread Roger Whitcomb
Well, as far as I can tell the stylesheet is fine, so something else is going on. Did you try clearing the browser cache to see if that helps? ~Roger Whitcomb Sent from my iPhone On Aug 14, 2013, at 10:15 PM, Roger Whitcomb wrote: > Hi Erik, >Wow! That's a bad one. Hoping

Re: How to increase the thickness of grid lines in GridPane?

2013-08-14 Thread Roger Whitcomb
Well, you could submit a patch to GridPaneSkin that implements thick grid lines ;) There would have to be changes in all the drawing and layout-related methods, but probably not too hard. But if that's too much, then probably doing an inner Border would work. HTH, ~Roger Whitcomb On A

Re: Javadoc for 2.0.3 appears to lack formatting

2013-08-14 Thread Roger Whitcomb
Hi Erik, Wow! That's a bad one. Hoping Sandro can figure it out -- I'm clueless at the moment, but likely it is one or more missing stylesheets. Thanks, ~Roger Whitcomb On Aug 14, 2013, at 6:12 PM, Erik Innocent wrote: > The Javadoc appears to lack formatting. I'm loo

Re: What is an example of the use of Application.UnprocessedKeyHandler in Apache Pivot?

2013-07-17 Thread Roger Whitcomb
Ah. Good. You're very welcome. Thanks for using Pivot. ~Roger Whitcomb On Jul 17, 2013, at 5:55 PM, Erik Innocent wrote: > Oh, so I need to add the interface UnprocessedKeyHandler to my class that > implements Application, and then of course implement the interface'

Re: Why i can not run HelloJava as an application?

2013-06-15 Thread Roger Whitcomb
What directory was the code in? Java conventions require the path to the class file to match the package designation (org.apache.pivot.tutorials). And you would need "." in your CLASSPATH too. ~Roger Whitcomb

Re: TableView Objects with nested Objects

2013-05-23 Thread Roger Whitcomb
Very cool. Let us know if you have more difficulties. ~Roger Whitcomb

Re: TableView Objects with nested Objects

2013-05-23 Thread Roger Whitcomb
Renderers get their "render" method called. In that method, cast the data object to your type and call the "getName" method of your data object. I'm not at my computer right now, but there are several tutorials and demos that use custom renderers that you can look at

Re: TableView Objects with nested Objects

2013-05-23 Thread Roger Whitcomb
simple to use a different method to get the text. ~Roger Whitcomb

Re: center the text of header columns of tableView

2013-04-11 Thread Roger Whitcomb
Oh yes, the headerDataRenderer is a property of TableView.Column. So just move that piece of your BXML (to right after ). HTH, ~Roger Whitcomb On Apr 11, 2013, at 7:13 AM, marianciu wrote: > Hello Roger > > I've used "headerDataRenderer" and obtain similar exception

Re: Guice integration for apache-pivot

2013-04-08 Thread Roger Whitcomb
Hi Tom, That is awesome! I will take a look and comment more in a bit. But I'm really grateful for your efforts here. ~Roger Whitcomb

Re: Text no more null in Label, and some update

2013-03-06 Thread Roger Whitcomb
I think that we need to implement the AWT input method listener which is a rather complicated interface. Seems that OSX and Windows are very different in this area. I have just barely started looking at it so I am still not sure but it makes sense to me because we never see any events currently.

Re: IndexOutOfBoundException in TableView when Highlight is set to true

2013-03-05 Thread Roger Whitcomb
Okay I'll commit this in the morning and let you know when it's in so you can try it. Thanks! ~Roger

Re: Accordions menu has different margins

2013-01-27 Thread Roger Whitcomb
definitely necessary for your MenuVisit class, I would take it out (or make it inherit from FillPane or TablePane or GridPane instead so it will allow its children to fill up the space). HTH, ~Roger Whitcomb

Re: Accordions menu has different margins

2013-01-26 Thread Roger Whitcomb
ile your second bxml has just the BoxPane in it. So, I would look in your layout object to see what it is doing (or not doing). Or you could take it out if you don't really need it (the menu without it looks right). HTH, ~Roger Whitcomb

Re: Custom component extending existing one

2013-01-21 Thread Roger Whitcomb
The solution is to do the following BEFORE you instantiate one of your custom OtTableView objects: Theme.getTheme().set(OtTableView.class, TerraOtTableViewSkin.class); HTH, ~Roger Whitcomb

Re: Wrapped text with Buttons inserted

2013-01-13 Thread Roger Whitcomb
Hi Brendan, Thanks for asking. We have released the first version of and are working on the next version of a management studio for our database products. It includes a free-form SQL editor, which is where we're starting to use a TextPane in order to do syntax coloring. Sounds

Re: Wrapped text with Buttons inserted

2013-01-12 Thread Roger Whitcomb
the source. HTH, ~Roger Whitcomb Sent from my iPhone

Re: ListItem user data

2013-01-09 Thread Roger Whitcomb
ch of which is a ListItem object? If so, then I think what you're asking for is already available. Maybe you could provide a snippet of code that would more completely describe what you're doing and maybe we can be of more help. Regards, ~Roger Whitcomb

Re: Layout container inside cells in Table View

2012-12-30 Thread Roger Whitcomb
Yes. What effect are you trying to achieve that you want to use a layout container? That would help us to know better what to suggest. HTH, Roger Whitcomb

Re: MVC - Binding POJO model classes to Pivot View

2012-12-11 Thread Roger Whitcomb
uch of what you are describing could be done more simply. HTH, ~Roger Whitcomb

Re: How to change a tabpane buttonColor when it was active and inactive

2012-12-11 Thread Roger Whitcomb
Hi, I think what you need to do would be to set a custom tab data renderer (see TabPane.setTabDataRenderer). This renderer could subclass the ButtonDataRenderer, but set the color differently when the tab pane is unselected. HTH, ~Roger Whitcomb

Re: Use Drag and Drop in TableView Header

2012-12-06 Thread Roger Whitcomb
correct, so it's probably something pretty simple. HTH, ~Roger Whitcomb Sent from my iPhone On Dec 6, 2012, at 4:44 AM, Brendan cheng wrote: > Hi, > > > > I tried to implement a drag and drop function on column of table view header. > I followed an example of Dem

Re: Logging

2012-12-03 Thread Roger Whitcomb
suggestions at the moment, however. This seems like a good 2.1 feature. Do we have a JIRA issue for this? ~Roger Whitcomb

Re: Binding between a editing cell in TableView to an external TextInput

2012-11-01 Thread Roger Whitcomb
It shouldn't because the row editor listener is only active when you're actually editing. But you might have to either remove your master formula listener when it's not in edit mode or set a flag to not propagate changes when it's not being directly edited. HTH, ~Roger

Re: Tab Title Bar doesn't adjust the width properly

2012-09-23 Thread Roger Whitcomb
Did you call it with the same object or did you make a new object (for setTabData)? It should be with a new object. But I will check our code to see what else (if any) we did... ~Roger Sent from my iPhone On Sep 23, 2012, at 6:26 PM, ccp999 wrote: I had tried to make the call setTabData

Re: Tab Title Bar doesn't adjust the width properly

2012-09-23 Thread Roger Whitcomb
Hi Brendan, Yes, we found that too. The problem is that just setting the text doesn't notify the control that something has changed that requires a repaint. What we did was make the "setTabData" call (I think that's the call -- I'm not in front of the Javadoc right now) again with the u

Re: How to block UI input to a disabled/busy TreeNode

2012-08-23 Thread Roger Whitcomb
But, the way that nodes are disabled is through setting a disabled node filter via "setDisabledNodeFilter" in TreeView. So, adding a second (redundant) method doesn't seem necessary. So, I think at max, just one new style might be necessary for the TreeView skin to disable mouse interaction on

Re: Determining Pivot component attributes and styles

2012-08-19 Thread Roger Whitcomb
rly responsive because we've been where you are ;) HTH, ~Roger Whitcomb Sent from my iPhone On Aug 19, 2012, at 11:25 AM, GregBrannon wrote: Sorry to be the slow guy in the group, but I find the bxml document approach to UI definition difficult. I'm much more confident with i

Re: How to set ListView data binding?

2012-08-14 Thread Roger Whitcomb
What I was thinking is that if your Person object's "toString" method returns whatever you want to display in the ListView. Then just use List as the ListView data. Then the "getSelectedItem" can return your Person object and you can do whatever you want with it. HTH, ~Roger On Aug 14, 2

Re: Expander has extensive CPU usage >60%

2012-07-29 Thread Roger Whitcomb
Hi Brendan, Yes it definitely was a bug. I just checked in a fix for this on Friday. The next point release (2.0.3) will have this fix. Thanks for checking! ~Roger Whitcomb Sent from my iPhone On Jul 29, 2012, at 8:37 PM, ccp999 wrote: Hi, I use Expander and found the CPU usage go

Re: PushButton : Alignement

2012-06-26 Thread Roger Whitcomb
Hi Jamal, For that you would need a custom renderer for the PushButton. Sample code for one that does something similar (wraps the button text) is below. Basically, then, you would set this custom renderer as the renderer for your PushButton (see the BXML sample also below). If you ne

Re: Notify TableView that the data has changed

2012-06-11 Thread Roger Whitcomb
Hi Joseph, Use the List.update method with the same (updated) object. So, the flow would be: List list = getTableData(); Object obj = list.get(index); modify obj list.update(index, obj); And that's all you have to do. ~Roger On Jun 11, 2012, at 6:21 PM, Joseph Paterson wrote: > Hello, > >

Re: alignment of checkbox editor in TableView

2012-04-04 Thread Roger Whitcomb
You would put in a BoxPane into your cellEditors with a horizontalAlignment of 'center', then put the Checkbox inside the BoxPane. Something like this: ... ~Roger Whitcomb On 4/3/12 2:30 PM, anton dos santos wrote: Hi in a TableView, TableViewBooleanCellRenderer is cent

  1   2   >