bobbylight / RSyntaxTextArea

A syntax highlighting, code folding text editor for Java Swing applications.
BSD 3-Clause "New" or "Revised" License
1.12k stars 259 forks source link

How do I make rsyntaxtextarea not on full window? #471

Closed xzripper closed 1 year ago

xzripper commented 1 year ago

Description How do I make rsyntaxtextarea not on full window? For example I want to make text area (x: 0, y: 0, width: 150, height: 150). But I can't find this method, and text area is always full screen.

Steps to Reproduce Specific steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Resize text area.

Actual behavior No.

Screenshots Add a screenshot if it helps explain the problem.

Java version 18

Additional context Add any other context about the problem here.

xzripper commented 1 year ago

note jpanel setbounds width height x y jpanel add codearea