laila NiHai

Ranch Hand
+ Follow
since Oct 18, 2010
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by laila NiHai

Hello,

I've googled and googled for a solution to the same problem as this one:
http://stackoverflow.com/questions/3085897/permission-denied-error-in-java

, but still cannot find a solution.

Basically, I am trying to launch another executable via a Java process. The directory and executable itself has full permission, but some how cannot be launched by a Java process. As described in above link, does this issue have more to do with Redhat enviornment or Java?

Any advice, I'd greatly appreciated it. I have spent many hours on this issue...and feeling like
11 years ago
Thank you Paul for pointing that out. I completely missed that detail. Thanks! It works great now!
Hello, I used the example of IntegerCellEditor given by Sun and adjusted to BigDecimalCellEditor; however, I cannot get the editor to see 0.0 and 0.01 as a valid entries. Not sure what I am missing... Any help would be greatly appreciated.

Thanks again for all the great advices Peter.
Thank you for your reply Peter! Now, I feel better knowing that there will be a light at the end of the tunnel of learning Maven!
Hello, I hope this forum is the right place for this question...

This is the scenario:
Project A-> depends on Project B->depends on ProjectC

Each project has its own /lib and /config.

Up to this point, for successful execution, each project's /lib and /config have to be manually copied into its parent Project. And each project has to be built individually. As you could see, this process is becoming cumbersome as more projects are being added. I've read about Maven but can't quite wrap my head around it, and not sure if Maven will actually help the situation or open up more can of worms.

Could you please recommend a better way? Also, i'm using Netbeans. Any pointers will be greatly appreciated.
Hi Ove, thank you for your reply....

I get the error at the line:

It looks like the jar file is found and it tries to load the main class... The "test.jar" also has it's own /lib folder... which I tried to also copy it to the main program /lib folder, but still didn't help.
12 years ago
Could someone please give me pointers? I've Googled for days...and still haven't found a good example and/or explaination. Any advice would be greatly appreciated!
12 years ago
Hello,

I just started to learn how to use the ProcessBuilder to invoke another java program (jar). I have added this jar to the "lib" of the calling java program, but when executed I keep getting the error:

Exception in thread "main" java.lang.NoClassDeffoundError:...
Caused by: java.lang.ClassNotFoundException:...



I understand what this error means, but what I don't understand is running the same command directly in the shell works fine, but running it in the java program then i got the mentioned error. Not sure what I did wrong in using the ProcessBuilder (built upon example from the article recommended thisThread

Here is the code:
12 years ago
Yes, that is the one. Do you recommend using a different framework in place of this? I have a requirement to develop a full application in a short period of time and we just don't have enough bodies to manually write all the code that handle application housekeeping. So, I started to look use the framework to help speed up our development...

any pointers?
12 years ago
Hi Paul and Rob,

Unfortunately, i cannot post the exact source code.

I used the same renderer code suggested by this tutorial: url=http://netbeans.org/kb/docs/java/gui-binding.html]webpage[/url]

I am using the Swing Application Framework.

I did a sample program using the same binding source, but NOT using the Swing Application Framework and NOT using GridBagLayout... and everything is fine. So, Paul might be on to something... that the framework has this bug... but I haven't found anything on the web that talks about this bug or how to fix it...

Has anyone experience this behavior?
12 years ago
Hello, not sure if this is the right forum...

I just started to use applicationframework along with data binding. I have successfully binded an element to the comboBox. In order for the object name display properly I had to setRenderer(...) as suggested by the tutorial. however, when i do this, the border of the border of box does not get redraw. only the text and arrow show. Has anyone experience this problem?

thanks for your help in advance.
12 years ago
Has anyone try this out and experiencing the same issue as I did?
12 years ago
Thanks for the tip. The nature of my work does not allow me to easily copy/paste code...that's why i tried to explain the problem as best as i could.

Anyway, I fixed this, some how Netbeans recognized and displayed properly after I rebuild the project. weird...


12 years ago
Hello,

I have a JTable and is bringing up a JPopupMenu upon right-click. However, the popupmenu comes up extremely small... so small that the menuitems do not show up, but they are there... each item gets highlighted as i mouse over and the action event does get caught?

i'm using GridBagLayout for the entire GUI. wondering if the layout has anything to do with it...

does anyone know if this is a known issue and are there any work around?
12 years ago