Here's my current setup... I have several tabs (Using CTabFolder and CTabItems) each with its own ScrolledComposite. I was able get the first tab working with the answer from https://stackoverflow.com/a/23882007/4288015 but this does not work when applied to the other ScrolledComposite on the second tab. The second tab doesn't recognize the mouse wheel even with the MouseWheel listeners removed from both ScrolledComposites. What might be the issue causing the first tabs ScrolledComposite to work but not the second one?
Why is only 1 of my ScrolledComposites scrolling with the mouse wheel?
142 Views Asked by whitesoup12 At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in SWT
- SWT Popup Context Menu width issue
- Is there a way to check the Mac version using Platform.OS on Windows?
- SWT button has border by default
- SWT Progress Bar
- Java 16 app : ignore windows zoom/scaling
- How to programmatically remove the "Detach" context menu item from an Eclipse RCP view toolbar?
- Gradient color for cells in NatTable using Style() and not CSS
- How can I run Eclipse SWT applications in a browser as WebAssembly?
- SWT.SetData listener not listening when calling table.redraw() in Java SWT project
- How to change the size of Checkbox within the Virtual Table column in eclipse SWT?
- How to add Checkbox to table column Header in SWT Java?
- Unreliable Clipboard Event Handling in Java Program
- SWT browser in Eclipse unable to access localStorage
- Underline below the name of CTab
- Java, SWT how to make RowLayout working within a ScrolledCompositite?
Related Questions in MOUSEWHEEL
- How can i make a infinite horizontal scroll that recibes input from mouse wheel with Javascript & React
- wpf combobox how to handle PreviewMouseWheel
- scrolling problem with combobox inside datagrid inside scrollviewer
- wpf datagrid does not bubble the scrollwheel event
- Scroll direction of the WheelEvent delta*
- Prevent MouseWheel scrolling in the SplitterPanel of a SplitContainer
- Unity InputSystem Scroll [Mouse] is triggered by middle mouse button press. Possible bug?
- Mouse mechanics on scroll
- TKinter mousewheel scroll on multipe tabs
- Javascript pan and wheel zoom image
- Same behaviour with mousewheel and touchpad
- Sync 2 TextBox scroll bars on mousewheel from either?
- three.js - OrbitControls damping works when mouse pressed but no damping when mouse stops moving
- How can I disable mousewheel after last slide and reenable it when reaches top of page?
- How to delay javascript wheel event
Related Questions in SCROLLEDCOMPOSITE
- Java SWT ScrolledComposite Performance with many Composites inside
- Horizontal Alignment Off for Dynamic Composite within a ScrolledComposite
- SWT Table inside ScrolledCompsite: no scrolling by Mouse Wheel
- Prevent scrolling on text field? Java SWT
- Eclipse SWT ScrolledComposite refuses to scroll
- Nattable in SashForm expands the ScrolledComposite
- Trying to create 2000 text widgets(SWT) inside a scrolled composite but only 1092 get created
- ChartComposite into a scrolledComposite
- How to implememt a dynamic sized shell with a ScrolledComposite in eclipse SWT?
- ScrolledCompsite in TabFolder sizes content to zero
- Scrolled composite content is not shown in multi page wizard
- SWT Label inside a scrolled composite is not wrapping dynamically
- How to get contents to show up inside a ScrolledComposite
- How to set the max height of ScrolledComposite in SWT
- Why is setSize method necessary to show scroll on Composite in SWT?
Related Questions in CTABITEM
- Underline below the name of CTab
- Is there a way to make CTabItem not accessible by the user?
- SWT: How to detect when a new CTabItem is added to CTabFolder?
- How to determine the correct position of an Image inside of a CTabItem
- Why is only 1 of my ScrolledComposites scrolling with the mouse wheel?
- SWT CTabItem meaning of setData and setControl
- Why SWT CTabItem doesn't dispose child widget recursively?
- Measuring font fontsize of CTabItems in SWT?
- how to add more than one items in one CTabItem?
- SWT Use Composite from File
- SWT CTabFolder Check If CTAB Exists
- How do I show a table inside a CTabItem using the SWT
- Set header-width of CTabItem
- Java SWT - Set ForeGround/Background Color of CTabItem (of CTabFolder)
- Set Controls with arbitrary positions on CTabItem
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I was able to fix the issue by using StyledText instead of Text. This allowed me to wrap the text and maintain the mouse wheel scroll capabilities.