Hi,
Thanks I used the parse method, and it seems working.
long newlong= longFormat.parse(strLong).longValue();
Type: Posts; User: liron50
Hi,
Thanks I used the parse method, and it seems working.
long newlong= longFormat.parse(strLong).longValue();
Hi Norm,
Can you be more specify?
Is the conversion that I'm trying is not possible?
Hi,
Appreciate any help on this issue.
If I use the class DecimalFormat to format long number, how can I convert it back to integer?
DecimalFormat longFormat = new DecimalFormat("#,###"); ...
Hi,
Currently I'm not changing those property at all.
I try set them in all combination - TRUE/TRUE, TRUE/FALSE, FALSE/TRUE, FALSE/ FALSE, and doesn't seem to have effect.
however if I comment...
hi,
I'm using JTabel and AbstractTableModel to show data from DB.
At the first version I simply show the data, and in this case when I click single row, this row was highlighted (the whole row)....
OK. thanks.
Hi,
thanks for reply indeed this was the problem.
but why do have to set auto commit false in order to work with bulk?
Hello,
I'm having problem with this function and I think I'm doing something basically wrong.
I want to insert some records(200+) to DB in bulk. I don't get any errors or exception in the process...
Again it's work.
But if the components that I set his visible to false is JPanel it's enough to set it's visible, if it's JScrollPane I also need to call pack();
you can run the code example and...
Yes,
only in case of setting the visibility of JScrollPane I have to call method pack() of the frame, to see the change.
oo my, just now I understand why it's happen,
because when I do it in the second way:
add(new JScrollPane(southPanel), BorderLayout.SOUTH);
I actually had the scrollPane to the frame, and after...
But you did help...
thanks again
by the way, it's acting the same also with GridBagLayout.
I found where the problem.
I wrote little program with 5 panel, and 5 buttons that each button make panel hide\show and indeed the panel expand as I want.
But when I add the panels with...
I don't sure,
I am using currently GridBagLayout. but before that I try to use BorderLayout and that also won't help.
After I set the visibly for component into false, his place become empty.
what I'm trying is similar to the functionality in the eclipse environment.
if, for example I have four windows opening (like the first picture - the explorer the code, the javadoc and the task list...
but I want that the other components will re size and fill the space,
I don't want that the frame will be smaller.
if I will calculate it, I will need to take into account all possibilities and...
I have JFrame with some components, and I'm trying to supply methods for
hiding\showing each component.
I set the visible of the component to false - witch make him indeed invisible,
and them I...
Hello all, I'm new here.
I currently writing project in java for graduation.
It's trivia game. some clients connect to server and play with each other.
The program use RMIfor communication, and...