Bradley Arvin

Greenhorn
+ Follow
since Feb 16, 2012
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 Bradley Arvin

I'm using Linux and have found a way to open pdf's. However, most of the pdf's I have are password protected. Is there a way that while opening the file, I can enter the password in my code?
Here is my current code:
12 years ago
Ok so I was experimenting with various things and I found that the Eclipse that I downloaded from the Ubuntu Software Center doesn't show the suggested methods. However, the Eclipse I downloaded from their website does show it. So I'm not sure what to say about that.

Koen Aerts wrote:Sometimes this may happen if there's a code error elsewhere in your source file... not sure if that's the case for you or not.

Also, I know it's not related to the question you're asking, but I just can't let it go... in your screenshot you have a bunch of if() else() statements; each one does raw.toLowerCase().equals("color"); .... that's a lot of redundant toLowerCase() calls, plus what happens if "raw" is null? Maybe just before the first if() statement, do this: Then change each if() statement like this: It will improve performance and handles cases where "raw" is null.



Actually at the beginning of the code I do and I did just tweak out the multiple . Thank you for your comment. Also, along your first idea, I created a new class with just one line and it still didn't recommend anything.

Eclipse will certainly show you the suggested methods. You need to press both control key + space key at the same time after the dot (.) operator.
For e.g. Employee emp = new Employee();
emp.[ctl key + space key]



It normally would. However on my new computer, neither in Ubuntu or Windows, does Eclipse show the suggested methods. I took a screen shot so you can see what I'm talking about. My Screen Shot. I hope this can help.
I hope this is the right section. Whenever I am typing in Eclipse, no suggested methods ever come up. Here is a link to what I should see: Eclipse help. Also when I do what that article say, I still get no recommendations. For the record, I am on Ubuntu and I use Eclipse Indigo.

Thanks,
Brad