Three-way Splitpane?
I am attempting to create a UI that looks a lot like the editor pane in netBeans. My problem is that I cant seem to find the container that splits the screen into three areas such as the one shown below:
| | |
| | |
| | |
| |------------|
| | |
| | |
I know that a similar effect can be acheived with nested JSplitPanes, but it is obvious that it is nested and I would prefer that it be possible to place the cursor over the intersection of the dividers and change both at the same time.
How can I do this?
kbaldor,
Here's a jython app (www.jython.org) demonstrating a crude implementation of a 3-way split pane. It's a composite widget that consists of a h-split containing a v-split, with some mouse-listener logic so the v-split is repositioned with the h-split. It's crude because it doesn't handle resize indicators or drag outline.
--A
from java.awt.event import *
from javax.swing import *
class Split3Pane(JSplitPane):
Composite splitpane.
Consists of a h-splitpane, containing a v-splitpane as right component
def __init__(self, left, top, bottom):
splitV = JSplitPane(JSplitPane.VERTICAL_SPLIT, topComponent=top, bottomComponent=bottom)
self.leftComponent = left
self.rightComponent = splitV
dl = self.DividerListener(splitV)
ui = self.getUI()
ui.divider.addMouseMotionListener(dl)
class DividerListener(MouseMotionAdapter):
'''Inner class listens for mouse events on h-split; forwards to v-split'''
def __init__(self, targetsplitpane):
self.targetsplitpane = targetsplitpane
def mouseDragged(self, evt):
try:
self.targetsplitpane.dividerLocation = evt.y
except:
pass
class Split3Demo(JFrame):
def __init__(self):
left = JScrollPane(JTree())
top = JTextPane(text='top')
bottom = JTextPane(text='bottom')
sp = Split3Pane(left, top, bottom)
self.contentPane.add(sp)
self.size = 200, 200
if __name__ == '__main__':
s3 = Split3Demo()
s3.visible = 1
Similar Messages
-
Quantity variance in Invoice Vs. Three way match in PO
Hi Experts,
I am not able to find any differrence between quantity variance Vs. Three way match in PO.
For example in our purchase orders for all the items we are having Two way match (PO-Inv, GR-Bsd Inv is not checked) but we have defined quantity varaince in Invoice. So when we are trying to post invoice for purchase order item for which goods reciept is not performed, system is blocking the invoice due to quantity variance.
So i think if you have quantity variance at invoice level then system is going to check whether goods reciept is perfromed or not regardless of Two way or three way match.
Please advise if my understanding above is correct.
My second question is as we can define two way/three way match at various level (Supplier, Inforecord etc.). Is there anyway that i can define that quantity variance in Invoice should be for certain material groups only.
Please advise.
Regards,
Kamalhi,
when you set the qty variance, and try to post the invoice just after the PO, the system will show a message at IR ie. " Quantity delivered is Zero"...
this message is warning message...
The system will block the invoice item when the doc is posted, depending on how the tolerance key DW is set(Qty variance to Gr qty = zero)...
Hope it helps..
Regards
Priyanka.P -
I need to check configuration setting to check if three way matches have been activated for
1) Vendor Order, Good Receipt and Payment to Vendor
2) Customer Order, Customer Invoice and Customer Payment
How do I do check this, what is the path.Hi
For vendors check ME23n---Display PO
MIGO-- Goods receipt
MIRO--Invoice reciept
Regards
Aravind -
Three-way mirror disk requirement
In Windows 2012 Storage Space, why 3-way mirror requires minimum 5 disks instead of 3? How does 3 way mirror works? I tried to find the tech paper on MS website but either I didn't try hard enough or the info is not there.
Hi,
The reason is that a 3-way mirror uses a quorum. In order to keep running, the mirror space must keep over 50% of the disks functioning. So a 3-way mirror must have at least 5 physical disks to be able to survive the loss of up to 2 physical disks.
For more detailed information, please refer to the links belwo:
Tip Of the Day: 3-way Mirrors
http://blogs.technet.com/b/tip_of_the_day/archive/2013/08/29/tip-of-the-day-3-way-mirrors.aspx
mirror in storage pool
http://social.technet.microsoft.com/Forums/windowsserver/en-US/2e6955b7-b293-4880-8fb3-8b4ce0e02ec9/mirror-in-storage-pool?forum=winserver8gen
You could also refer to the article below to know more about three-way mirror:
Windows Server 2012 SMB 3.0 File Shares: An Overview
http://www.petri.co.il/windows-server-2012-smb-3-file-shares.htm
Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
The problem is when you merge 2 parties into one; it is either you hear nothing at all from both parties, or you only can talk to 1 person putting the other person on hold. Simply, "merge" just does not work.
I called at&t 10 times to find a solution, still no go.
Talking to a service representatives did not help much. What they do is that they just remove 3 way call feature and put it back on to your account from their at&t system, or they suggest power cycle the phone, or call apple.(duh!) At times, it worked momentarily then voila, the same problem continues.
Then I talked to a tech support, I do not know what it is called but the tech disconnected my iPhone 3g from the network and reconnected it. She said this process is different from partial remove/add features that customer support rep did, it was rather total reset from the network.
Right after the talk with tech support, I was able to connect & merge 3 people (my friends) together that I could not before. Next day, I tried three way calling for the same 3 people but it did not work ever since.
I test called three way call today, calling 611 and Apple iPhone support number 800-694-7400, and it works! However, problem still exists when I try to connect my friends, the same 3 people mentioned above. What gives?
Does the problem have something to do with my friends' carriers? One has T-mo, the other one has Helio, and the third has vonage VOIP home service.
Please let me know.bump
-
I have v. 3.1.8 and am on a Macbook pro. I start a video chat with another macbook pro and try to bring a G4 into the conversation but I keep getting the "There is already another conference active" message. From what I remember, you just need to intel machines to make this work - am I wrong in thinking that? Even still, sometimes it seems like regardless of the computer configurations, three way chats sometimes will just give that message anyway. Is there something else that I may be doing to screw this up? Thanks in advance.
Check each user is having an upload speed of at least 384k
Check it user/ Buddy is displaying stacked Video icons
See the Pink iChat 3 box and the third and fourth Buddy here
http://www.ralphjohnsuk.dsl.pipex.com/page8.html
One has the "Flat" single chat icon and one the "Stacked" multichat icon.
If you are the one with the single "flat" icon then run the Cron scripts
http://discussions.apple.com/thread.jspa?threadID=122021
10:18 PM Sunday; May 13, 2007 -
I have three tables file, file_location, and file_object as bellow:
file_location (file_id, file_system_id, stored_on,...)
file (file_id, name, object_id, file_size, ...)
file_object (object_id, created_on, ...)
I need to issue a query that do three way join, for example
SELECT floc.stored_on, mf.file_size, mo.created_on
FROM file_location floc, file mf, file_object mo
WHERE mf.file_id = floc.file_id
AND mo.object_id = mf.object_id
AND floc.file_system_id = 1
How can I avoid doing a separate query for each File and each FileObject(without writing custom SQL to produce some new view-object)?
I would expect the tool to be able to do this in three queries, one for each table, which are then linked up on the client side.
Does anybody know how to do this? I tried different approach including use join, but always end up with separated queries for each object.
ThanksI'm am not clear on your object model, or the relations between File, FileObject and FileLocation, but in general to optimize queries in TopLink you can use batch reading, joining, partial object reading or report queries.
If you just want the three data values back, one from each object, you might be best off using a ReportQuery.
i.e.
ExpressionBuilder file = new ExpressionBuilder();
ReportQuery query = new ReportQuery(File.class, file);
query.addAttribute("fileSize");
query.addAttribute("storedOn", file.get("location").get("storedOn"));
query.addAttribute("createdOn", file.get("fileObject").get("createdOn"));
List result = (List) session.executeQuery(query);
To read the objects, assuming File has a 1-1 to FileObject and 1-1 to FileLocation, you could query for File and batch read FileObject and FileLocation.
i.e.
ReadAllQuery query = new ReadAllQuery(File.class);
query.addBatchReadAttribute("fileObject");
query.addBatchReadAttribute("fileLocation");
List result = (List) session.executeQuery(query);
If your are trying joining/batch reading and still getting separate calls please include your query definition. It could be that you have already read and cached these objects with value holders in them, or are not using indirection in general. -
My mom sends a video invite to my sister from her iMac to her MacBook. Then my mom sends me an invite. On their Mac's iChat enters a three way chat where on my MacBook Pro all I see is myself and I can only hear them. If I have my mom start a two way video chat, I can then see her.
Assuming each of you has his/her QuickTime Streaming Speed set correctly, the problem is probably insufficient bandwidth on your mother's end and possibly on your end as well.
If you want to try a three-way video connection hosted by me, you can try video connecting to me at [email protected] -
How can I turn off the green indicator in the program window, that highlights my blacks that contain no image information. I applied a three-way-color corrector via an adjustment layer. Many thanks!
Hi Joe,
I am running on a MacBook Pro, OSX 10.8.3, my graphics card is:
Chipset Model: Intel HD Graphics 3000
Type: GPU
Bus: Built-In
VRAM (Total): 512 MB
Vendor: Intel (0x8086)
Device ID: 0x0116
Revision ID: 0x0009
gMux Version: 1.9.23
I shot on a flat picture profile with a Nikon D800 and played with the input levels in the 3-way-color corrector. Again, if I brighten the whole image, these indicators will disappear; if I darken the image, they will grow. It is not an artefact, it is a way to show me my crushed blacks. Like a zebra function in cameras. I just cannot find a way to turn this off.
Thanks again,
Carl -
Hi all,
I am looking for ideas on how I can implment a three-way shuttle.
I want to start with a simple list of people (select person_id, name from per_person order by 1) and be able to shuttle from this list into one of two targets.
The easiest example I can think of is a list of people invited to a meeting. For each person I want to shuttle them into either the 'Attendee' list or the 'Apologies' list (or potentially a 'No Show' list with a four way shuttle), obviuosly each person can only appear in a one list at any one time.
We are using Version 3.1.
Many thanks,
MartinHi Martin,
My first thought was: I wouldn't use a shuttle for that, because how does it know where the person needs to go to when you click on an icon?
So the three ideas that spring in my mind:
- You could use a DHTMLX Tree component to drag-drop from one list to another
http://dhtmlx.com/docs/products/dhtmlxTree/index.shtml
Or
- What if you create a list (div section) with your persons on the left and next to that 3 empty lists (div sections) with Attendee, Apologies and No Show. From your list of people you drag-drop to the other sections.
- What is wrong with just a tabular form with a select list next to all the persons with the 3 options? That would be the easiest solution of course, but maybe not the nicest, web 2.0...
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/ -
Hello,
I am having difficulty with my phone. First problem. I can make three way calls, but I can't end a call with one person without having to end the call with both individuals. I was on a very important phone call today, long distance, and this really messed me up! Second, when someone calls me, and I put that person on hold to answer another incoming call, when I end the conversation with that incoming call I have to hang up on the other caller on hold!
I have Verizon. Does any one else have this problem??
Please help. It is so frustrating.Verizon is a CDMA carrier, so your options are limited. This describes (from the iPhone User Manual):
-
Is there any way that I could create or import a three way selector control in my labview application. The three way selector is used to adjust the pressure level of my application. The three levels are low, normal and high. I tried using the knob control but was unable to change the tickmarks of the knob. Please email me at [email protected] if you have any suitable solutions or suggestions for me. Thank you very much.
or even easier: use an enum...
"Wiebe@AIR" wrote in message
news:aiqm59$9iu$[email protected]..
> The easiest way is to take a slider control, make it an integer.
>
> Set the data range from 0 to 2, step must be 1. Adjust the colors and
layout
> in the customize control window. Hide the range, and add three labels to
it;
> low, normal and high.
>
> This way you can make a nice 0/1/2 control. No refs, no attribute nodes,
> etc.
>
> Regards,
>
> Wiebe.
>
>
> "DonTan" wrote in message
> news:[email protected]..
> > Is there any way that I could create or import a three way selector
> > control in my labview application. The three way selector is used to
> > adjust the pressure lev
el of my application. The three levels are low,
> > normal and high. I tried using the knob control but was unable to
> > change the tickmarks of the knob. Please email me at
> > [email protected] if you have any suitable solutions or suggestions
> > for me. Thank you very much.
>
> -
Is it possible to drop a caller during a three way call without having to as them to hang up on their own? Is this a limitation of VERIZON's service?
If YOU made the call you should be able to hang up. If someone else made the 3-way connection I wouldnt think so.
-
Three-way or conference calling?
Heyo.
Searchings the forums for the terms "3-way", "three-way", and "conference" yielded nothing so here goes.
Can FaceTime do three-way (or more) video chats?
Thanks,
ALFOk, thank you!
That's what I thought but the person at the Apple store "swore" it did.
Glad I double-checked.
ALF -
Three-Way Color Correction in Adobe Premiere Elements 13?
Does Adobe Premiere Elements 13 have the Three-Way Color Correction feature, as found in past versions? Really important.
Phil-SC
What computer operating system is your Premiere Elements 13 running on?
In Premiere Elements 12 or 13 Windows 7, 8, or 8.1 64 bit
The short answer is Yes. See fx Effect/Color Correction/Three-Way Color Correction.
The longer answer is in the form of the following 3 screenshots displaying a side by side comparison of the 12 and 13 settings area in Applied Effects/Applied Effects Palette/Three-Way Color Correction Panel expanded
Midtones
Premiere Elements 12 on left, Premiere Elements 13 on right
Highlights
Premiere Elements 12 on left, Premiere Elements 13 on right
Shadows
Premiere Elements 12 on left, Premiere Elements 13 on right
I have not done a side by side comparison of results from the two versions, but they have the same controls and
options as you can see.
ATR
Maybe you are looking for
-
While applying the patch getting an error Failed:xdoloader.class on worker
Hi, While applying the patch getting an error Failed:xdoloader.class on worker
-
Is there something wrong with a Oscar Gomez Fuentes 2Channel oscilloscope
Is there something wrong with a Oscar Gomez Fuentes 2Channel oscilloscope or are my devices configured wrong. I have DAQCard-6036E and SCC-2345 with SCC-Ft01 and SCC-A10 modules. The problem is that when I am measuring with A10 it effects to FT01's R
-
Accounting document not copied after system copy.
Hi, We copied the production system into our test system using backup/restore. In the post copy verification, our CO team complained because they could not see the "accounting documents". What do you think happened why the accounting document was no
-
How to delete all old stuff of net software that could disturb software from my new provider? _______ k.
-
Multiple header rows for one table?
Using html it's possible to set up multiple table header rows for one table but with APEX Reports I don't see how to implement this. Any ideas? I want to use the second header row to provide links to data for the column only (not a row). But I still