Ruby, Rails, Firefox, Anime, Mac
In: Java8 Mar 2004
Firstly, the .NET question: does anybody know how to get this Button ListBar Control to work?
I was trying to get the.NET Button ListBar control into my VB project’s toolbox – I followed these instructions:
To use the control, add either the ButtonListBar.vb or ButtonListBar.cs file to your project. You should find the control automatically appears in the Toolbox; if not you’ll need to force the toolbox to display the
control: typically I find that double clicking on the control source file to open its designer causes this to occur.”
Unfortunately, it doesn’t appear automatically when I added ButtonListBar.vb (via “Add existing item”). So I double-clicked the source file… But it threw out this error
The class ButtonListBar can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file…
Which I don’t understand of course. Neither did it cause the ListBar control to appear in the Toolbox. I have emailed the author about this, but if anyone knows what I’m doing wrong, please let me know ASAP.
This of course leads to the question: What is the correct way to add a user control which comes in source form?
Now, for the Java question: is there an existing library/package that would allow me to calculate the median and, say, the 95th percentile of a population quickly? I searched to no avail, of course, before I ask this.
I can do this myself the hard way, but I’m really pressed for time. I’d like to reuse an existing solution if there is any.
Thanks for any leads!