Questions tagged [jscrollpane]

The tag jscrollpane could be used for questions about two topics: 1) a Java Swing component named JScrollPane, 2) a jQuery plugin. Please verify the companion tags to clarify the context of the question.

jScrollPane (jQuery plugin)

  • jScrollPane is a cross-browser jQuery plugin by Kelvin Luck which converts a browser's default scrollbars (on elements with a relevant overflow property) into an HTML structure which can be easily skinned with CSS. Project on GitHub.

JScrollPane (Java Swing component)

  • Provides a scrollable view of a lightweight component. A JScrollPane manages a viewport, optional vertical and horizontal scroll bars, and optional row and column heading viewports.
2703 questions
0
votes
0 answers

Trouble with adding JScrollPane to JTable initialized by TableModel

I have some troubles with adding JScrollPane to JTable in my application. There are two classes: Controller and Main form. In Main form the table is initialized as private variable, and in Controller I'm getting it using getter. Now I have such code…
Bersh
  • 1
0
votes
0 answers

Jtable - resizing column moves scrollbar

title is quite explanatory. i got JTable wider than screen so there is horizontal scrollbar. when i start app and try to resize column (via grabing table header) and resize it its cooperating. when i move scrollbar and i try to resize some column,…
0
votes
0 answers

Add JScrollPane to JPanel - shows white background

I want to add a JScrollPane to a panel but when I add the scroll pane to a panel, the background of the panel changes and becomes white. Why does this happen? JPanel followingsName=new JPanel(); JScrollPane scrollPane2=new…
0
votes
2 answers

Why can't I see the JList?

Main Class public class Main { public static void main(String[] args) { new CredentialManager(); } } Main Window Class import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class…
user14701609
0
votes
1 answer

Getting jQuery jScrollPane to auto scroll for a certain period on load

Hi I'm looking for a solution to make jScrollPane auto scroll on page load. I found some similar questions but they are not what I am looking for (scrollBy and scrollTo methods). I currently have the…
dave
  • 35
  • 3
  • 11
0
votes
2 answers

Horizontal scroll bar doesn't show up?

JScrollBar _horizontalScroll; _verticalScroll = new JScrollBar(JScrollBar.VERTICAL); this.add(_verticalScroll); _verticalScroll.addAdjustmentListener(this); _verticalScroll.setVisible(true); _horizontalScroll = new…
vibhor
  • 109
  • 4
  • 14
0
votes
2 answers

jQuery jScrollPane: how to disable?

I need a command that would disable jQuery jScrollPane when a certain condition is met. Couldn't find it anywhere online, hope someone on StackOverflow knows the solution. I would appreciate your sharing it with me!
Dimitri Vorontzov
  • 7,834
  • 12
  • 48
  • 76
0
votes
0 answers

Is there a way to display 2D Graphics onto a JScrollPane

I have a piece of code that creates a Frequency Table Bar Chart ChartPanel(String chartTitle, ArrayList chartValues, ArrayList chartValuesFrequency). The code currently displays all the data onto the current viewport size. I've…
Ryan
  • 60
  • 7
0
votes
1 answer

Jpanel textbox no output

I'm working in java using Jpanel and my work is compiling fine however is showing no output. hopefully, someone could tell me why this is. I'm using jscrollpane and I'm calling it at the end idk if it's something to do with the listener or…
Angus.J
  • 1
  • 1
0
votes
1 answer

How to force repaint of JTable, JScrollPane?

I'm creating a top-down parser, that checks the syntax of a given source code according to a given grammar, then displays the result, within a simple GUI. Basically, the user selects the grammar and source files, clicks "Check Syntax" and the result…
Osama Bodiaf
  • 99
  • 2
  • 6
0
votes
0 answers

Java JScrollBar not scrolling all the way

So I have asked a previous question and this is a follow up to it, and I think it deserves its own question. I have this code where a JPanel of a certain size exists in a JScrollPane. The thing is, I want to set my own maximum values to the scroll…
LuckyBandit74
  • 417
  • 1
  • 4
  • 10
0
votes
1 answer

Scrollable JPanel with "cards" in it in java

i'm working on a java app for my school project. I need to display a list of "cards" in a container. If the number of card exced 3, the following cards will no be visible due to the size of the container : The list of cards in question: So I'm…
Adrien
  • 1
0
votes
2 answers

Dynamically change nested Swing component

Here is my problem: I have a JPanel that contains a JTabbedPane which has a JScrollPane using a customized JPanel. Quite simply, I change customized JPanel a ways into my program, and I need all of the parent components to reflect the change. …
MirroredFate
  • 12,396
  • 14
  • 68
  • 100
0
votes
1 answer

ScrollPane with TextArea inside Container doesn't show up

Scrollpane with Textarea doesn't show up. (I have gif running in the background too). I've tried to add it to another frame alone it worked but somehow i can't add it inside the container static class UserGUI extends JFrame implements ActionListener…
Vlad
  • 19
  • 2
0
votes
2 answers

How to append in a div with jscrollpane

We are using scrollpane.js for scrolling Youngib…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/jscrollpane" class="post-tag grid--cell" title="show questions tagged 'jscrollpane'" rel="tag">jscrollpane</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 11 '11 at 14:26">asked Jul 11 '11 at 14:26</time> <a href="../../users/434893/xmen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/434893.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="XMen" /> </a> <div class="s-user-card--info"> <a href="../../users/434893/xmen" class="s-user-card--link">XMen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">29,384</li> <li class="s-award-bling s-award-bling__gold" title="41 gold badges">41</li> <li class="s-award-bling s-award-bling__silver" title="99 silver badges">99</li> <li class="s-award-bling s-award-bling__bronze" title="151 bronze badges">151</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/jscrollpane_page=99" rel="prev" title="Go to page 99">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/jscrollpane_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/jscrollpane_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/jscrollpane_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/jscrollpane_page=99" rel="" title="Go to page 99">99</a> <div class="s-pagination--item is-selected">100</div> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>