Skip to main content



      Home
Home » Archived » Visual Editor (VE) » VE displays JTabbedPane incorrectly
VE displays JTabbedPane incorrectly [message #614741] Mon, 30 October 2006 17:09
Eclipse UserFriend
Hi everyone,

I have a function that I call from several places to refresh data on the
selected tab of a JTabbedPane. However VE lists essayTabbedPane as
currentPanel in the bean list (essayTabbedPane does not appear). I have
a feeling it is because i am assigning a temporary variable like this:

JPanel currentPanel = ...

This only became a problem when I upgraded to latest VE. Can I get VE to
ignore this function somehow? If I comment out this functions contents,
VE renders perfectly.


void refreshCurrentTab() {

// Get current tab
int index = essayTabbedPane.getSelectedIndex();
JPanel currentPanel = (JPanel)essayTabbedPane.getComponentAt(index);

if (currentPanel == getPersonPanel()) {
getPersonLoadSummaryCommand().execute(null);
}

}

Cheers, Greg
Previous Topic:How to get EditDomain
Next Topic:How to get EditDomain
Goto Forum:
  


Current Time: Wed Jun 18 23:22:55 EDT 2025

Powered by FUDForum. Page generated in 0.06231 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top