Well first of all, I finally got it to work. Credits to you ofcourse.
These "strategies" you were talking about ? Can you give me an example? Now I just set the button's text to the same text as...
Type: Posts; User: Bebras
Well first of all, I finally got it to work. Credits to you ofcourse.
These "strategies" you were talking about ? Can you give me an example? Now I just set the button's text to the same text as...
Well but my button renderer does return "",
@Override
public Object getCellEditorValue() {
return "";
}
Your scenario sounds great and I'm pretty sure I'll want to add more buttons with...
You are right. Should I just check if it is a valid index? But somehow that doesn't sound correct. What value does it have to return for a button? Because I just return an element from the array...
Okay. So I used the setModelIndex method and got an array index out of bounds exception.
JTable has a construtor JTable(int numRows, int numColumns), so I set tthe number of colums to the size of...
Yes. The text "Button clicked" is printed
No. The button is still not selectable.
JTable list = new JTable();
list.setModel(new BanListTableModel(data,columnames));
TableButton button = new TableButton("Atbaninti");...
2610
Just to be sure.
Yes that is right. Why do you say "conceptually"? How it isn't correct?
new problem!
I also wanted to add a button as a cell, so I created a "TableButton" class which extends JButton and implements TableCellEditor AND TableCellRenderer.
All is great except that I want...
Hello, I created a default JTable and added a listener to it. Everything worked great. But the default model wasn't good enought, so I created my own. And once I change data nothing happens.
My...
Hello, my application shows a profile. The profile has various interactors. I'm trying to follow the MVC model, so I neeed to tell my controller that something was selected. But the profile has many...
Now I feel stupid... Ofcourse thankyou.
But it seems the URL is different for different skins...
So I'll have to load images from my pc. But this is an applet... Could you give me some info on how...
No errors. And you were wrong, I didn't figure it out.
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.net.URL;
import...
Hello, I'm trying to load an image and display it as JLabels ImageIcon.
This is from a method which loads it(the url is just fine)
try {
URL url = new...
Storing skins in an array. I didn't want that because I thought that will take a lot of memory to do so. But now that I think about it... I'll do it.
The "lazy" loading way got me to this...
Hello, I have more than one question.
1.I will need to open a "skin selection"(it will be some jlabels with imageicon set as images). I will add MouseListeners to them. My "controller" class is...
I'm not quite sure what did you want to say ,GregBranno, but I had no hope.
Anyway. I re-checked and it seems I needede the newest version of whirlpool. By using the "jacksum" library I used the...
Blah, according to your link it hashes it with "Whirlpool-T", and it seems that I need the "Whirlpool-0". As I already tried using it and it seems that this hash generates a different output than I...
Wow, I don't even know how to thankyou.
I used the library you suggested and the normal output:
The problem is solved.
Hello, the thing is I found myself in the need for a whirlpool hash(don't ask why).
The only place I could find it was the one from GNU.
To get to the point, this is the code:
Whirlpool wp =...