Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Clicking on a JSplitPane divider.

843806Aug 3 2009 — edited Feb 9 2010
Hi,

This may seem like a stupid question but, how can I detect clicks on the Divider of a JSplitPane? I can make it resize programmatically, and I simply want to resize it if it's double clicked on (according to the left component's preferred size).

Many thanks.

Comments

Krishnan_venkat
Answer

--> $/AGENT_INST/bin/emctl stop agent

If agent does not shutdown gracefully then kill all agent background processes by first grepping for agent perl and java processes only

--> Move your existing target.xml file

mv target.xml target.xml.old

--> Create an empty targets.xml file under /AGENT_INST/sysman/emd with the below content

<Targets>

</Targets>

--> Start the agent

$AGENT_INST/bin/emctl start agent

This starts agent but without any targets populated in targets.xml

To discover targets perform agent resynchronization operation from console

Regards

Krishnan

Marked as Answer by sridhartempalle · Sep 27 2020
sridhartempalle

Thank you Krishnan_Venkat

After creating the empty targets.xml I started the agent, but the agent was still unreachable. I restarted the agent manually by stopping and starting in the subsequent steps and the agent is now up and communicating. That was the perfect solution to the problem I faced here.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 9 2010
Added on Aug 3 2009
6 comments
1,471 views