zero Corner

Greenhorn
+ Follow
since Nov 23, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by zero Corner

i am totally new in the Generic type in java, i don't really get what does the ? mean

public static <T extends Comparable<? super T>> void bubbleSort(T[] a, int n)

1)what does <T extends Comparable<? super T>> really mean? declaring the Generic T for the compiler to recognize it?
2) what does ? really for?

thank you in advance...
14 years ago


i use netbean to create the GUI so the initComponents method just ignore the core problem is inside the updatepanel method
Sorry for the code length... cause using the netbean....
thanls again for your patient Rob.
14 years ago

ListTitle is a Jlabel array
length is the total number of list require which is user specify
this is part of my code....

i try your solution already Rob Camick, thanks for your reply

after the component is visible i cannot make it refresh some how...

now i kind of stuck in the middle... although there is some alternative way but it is ugly code
14 years ago
Same old staff inner JPanel cannot be seen ..... i being see many web site or forum for solution, not much helping.......

currently i writting a custom class to add multiple list to a jpanel.
then i add the jpanel to a Jscrollpane(cause i wan to resize whole list rather than all my list got JScrollPane)

finally i add the JScrollPane to the outer jpanel which the reference being pass into a method call UpdatePanel(Jpanel jp)

i know that the jpanel add dynamically to a outer jpanel through coding will not be seen unless it being refresh, those method being suggest in the website like validate,invalidate,repaint also not working...

forsure some expert in this forum solve this problem before ...

cause the source code is more that 3 page so i guess quite hard to post it in...

please help me..... SOS...... need to finish my assignment
Thanks in advance!!!
14 years ago