This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!

Aron Jhed Amiscosa

Ranch Hand
+ Follow
since Oct 28, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aron Jhed Amiscosa

Hi.
I'm working on JTable and database when I've encountered this issue, when I wanted to freeze the first columns of my JTable that contains names and similar information.
When I tried and asked our bestfriend google how to do it, he told me to use JScrollPane's setRowHeaderView(Component view) method, which pretty much deals with my situation.
I managed to setup two different tables and yeah, its cool. However, I noticed that the JTable I've set as the component of the RowHeaderView doesn't display its Column Headers and only displays gray.
Is there any way where I can make its Column Headers appear? Or do I have to look for some other ways to implement freezing of JTable columns?

Thanks in advanced.
6 years ago
yes it is for a media player i'm trying to make.

i don't really need the code that you made, i just need at least the idea how you made it.

6 years ago
compound button, or what ever you might call it, is it possible to create a button or group of buttons to look like this?



the said button should be able to act as individual buttons like,
button_north, button_center, button_south, button_east and button_west.

looking forward to possible hints on how to come up with the said component.
thanks in advanced.
6 years ago
hi.


i have a JTable enabled for drag and a JTextField as drop destination.

i have no issues on the first drop on the textfield, however, there's an instance which i wanted to drop/replace the value inside the textfield
while the current value dropped in it was there. its more of overwriting the previous data with a new data from the dragged content.
can somebody please suggest some insights, perhaps samples on how i can fix this up.
thanks in advanced.
8 years ago
taking Mr. Prime's suggestion, i have come up to this..


i believe its working fine. now, im to put the suggested words to the text field and highlight the remainder of the currently possible matching word.

can you please guide me with that? thanks a lot.
8 years ago
hi.

im currently creating a JTextField that will be able to auto suggest words that are existing inside a vector..

i currently have this..


now im getting problems on checking if the currently entered characters would match anything inside the vector..
as you can see, i used the contains() method on vector. but it only checks for whole words.

i want to check if a certain object inside the vector somehow starts with the currently typed string.

i have an idea about using contains() with startsWith() but i dont have any idea how to do it..

please help..
8 years ago
i just dont want to use mysqldump because the path varies on where mysql is installed.

anyway, i found the solution already..

its here

credits to the original creator.
is there another way of dumping .sql file without using mysql dump?

needs help here..

thanks in advance.
hi there.

is there a way to make java use only ipv4 and ignore ipv6?

instructions are pretty much appreciated.

thanks.
i see. i think i'll try to learn about associations first. thanks for the tip.
8 years ago
so this means that it cant be done programatically?

thanks for this info mr. rob.
8 years ago
hi there.
i've created my own notepad application using java.
now, i want all files with .txt extension use my program as default viewer/editor.

is there a way i can programmatically associate .txt extension with my app?

thanks in advance.
8 years ago

Rob Prime wrote:JFileChooser for Swing
FileDialog for AWT



thanks. i'll give it a try.
8 years ago
hi. i just want to ask, if there is a class in java that serves as a folder browser?



i am in need of this now.

please help.
8 years ago
hi there.

im in the process of creating my own template of a Swing GUI Form in netbeans when i bumped on this problem.

i wanted netbeans to be able to integrate its form editor to my template.
i have read the JFrame Form template so i'd have the idea to create a template of my own classed frame.



there comes my problem, i wanted it to be a Form template. i need help on how to make this work.

thanks in advance.