Can you tell me how difficult it is to redo so that chats are in separate windows, and not in tabs?
Which way to dig ? Which *.java responsible for this ?
Подскажите насколько сложно переделать что бы чаты были в отдельных окнах, а не во вкладках ?
В какую сторону копать ? Какие *.java отвечают за это ?
Even the developers don 't know the answer ?
Hello, I am at a loss to answer this question. You need to figure it out, if you have developers who are ready to implement this - it will be great!
Most likely, this solution should be found here (Скорее всего надо искать в) ChatConteiner.java:
private void createFrameIfNeeded()
{
if (chatFrame != null)
{
return;
}
LocalPreferences pref = SettingsManager.getLocalPreferences();
if (pref.isDockingEnabled())
{
chatFrame = MainWindow.getInstance();
}
else
{
chatFrame = new ChatFrame();
}
if (SparkManager.getMainWindow().isActive() || pref.getWindowTakesFocus())
{
chatFrame.setState(Frame.NORMAL);
}
else
{
chatFrame.setAutoRequestFocus(false);
chatFrame.setState(Frame.ICONIFIED);
}
chatFrame.setVisible(true);
chatFrame.addWindowListener(new WindowAdapter()
{
@Override
public void windowActivated(WindowEvent windowEvent)
{
stopFlashing();
int sel = getSelectedIndex();
if (sel == -1)
{
return;
}
final ChatRoom room;
try
{
room = getChatRoom(sel);
focusChat();
// Set the title of the room.
chatFrame.setTitle(room.getRoomTitle());
}
catch (ChatRoomNotFoundException e1)
{
// Nothing to do
}
}
@Override
public void windowDeactivated(WindowEvent windowEvent) {
}
@Override
public void windowClosing(WindowEvent windowEvent)
{
SparkManager.getChatManager().getChatContainer()
.closeAllChatRooms();
}
});
// Start timer
handleStaleChats();
}
But I can’t figure out how yet =(