PELLE hat gesagt.:Hallo,
ich suche eine freie jtable java library die mehr zu bieten hat als die default jtable.
Kennt ihr da was?
alex0801 hat gesagt.:
HoaX hat gesagt.:https://richjtable.dev.java.net/servlets/ProjectDocumentList?folderID=6374&expandFolder=6374&folderID=6608
also bei mir gehts ...
PELLEe hat gesagt.:HoaX hat gesagt.:https://richjtable.dev.java.net/servlets/ProjectDocumentList?folderID=6374&expandFolder=6374&folderID=6608
also bei mir gehts ...
danke JETZT gehts habe dem author heute morgen ne email geschickt...
das jpepper jgrid von http://jeppers.sourceforge.net/jgrid/api/index.html ist schon mal fürn arsch....
habe zwar ne tabelle gemacht damit aber weder die beispiele noch sonst zeigt mir wie ich ein array in die tabelle lade, bei suns libs benutze ich das DefaultTableModel dm = new DefaultTAbleModel dafür ... naja mal die richjtable probieren.
dm.setDataVector(tabellendaten, spaltennamen);
Object namedColors[] =
{
NamedColor.AQUA,
NamedColor.BEIGE,
NamedColor.BLACK,
NamedColor.BLUE,
NamedColor.EBLUE,
NamedColor.JFCBLUE,
NamedColor.JFCBLUE2,
NamedColor.CYBERGREEN,
NamedColor.DARKGREEN,
NamedColor.FORESTGREEN,
NamedColor.GRAY,
NamedColor.GREEN,
NamedColor.ORANGE,
NamedColor.PURPLE,
NamedColor.RED,
NamedColor.RUSTRED,
NamedColor.SUNPURPLE,
NamedColor.SUSPECTPINK,
NamedColor.TURQUOISE,
NamedColor.VIOLET,
NamedColor.YELLOW };
JGrid grid = new JGrid(namedColors.length, 5);
Schlechtes Design.PELLE hat gesagt.:Kann mir jemand sagen warum JGrid sich so verhält oder ob das Vorteile hat?
Wildcard hat gesagt.:Schlechtes Design.PELLE hat gesagt.:Kann mir jemand sagen warum JGrid sich so verhält oder ob das Vorteile hat?
The project was not built since its build path is incomplete. Cannot find the class file for net.sf.jeppers.grid.StyleModel.
Fix the build path then try building this project.
The type net.sf.jeppers.grid.StyleModel cannot be resolved. It is indirectly referenced from required .class files
RichJTable (extends StateSaveJTable)
JavaDoc
The RichJTable extends the StateSaveJTable with coloring functions. Every second row has a color. It's possible to add ColorRules. With ColorRules you can set fore-/background color for rows wich objects have specific values.
* color rules for coloring the table cells
* changing colors for each row
alex0801 hat gesagt.:Oh man, ihr stellt euch an. Der CVS-Zugang bei Java.net funktioniert doch?! Also da die Sources runterladen und die API-Doc mit wenigen Klicks in <eine gescheite IDE deiner Wahl hier einsetzen> selbst generieren....
- Alex
[update]
Hab eben selbst mal reingesehen... Scheinbar haben nicht alle Klassen JavaDoc drin. Aber über den Quelltext kann man sich seine Fragen ja auch beantworten.
Hilefoks hat gesagt.:
tabelle.setHighlighters(HighlighterFactory.createSimpleStriping();
The method setHighlighters(Highlighter[]) in the type JXTable is not applicable for the arguments
(Highlighter)