How do I change the size of my applet on JGrasp? - jgrasp

I wanted to know how I could change the size of the applet.I did it once back when I installed JGrasp but when I had to reinstall it due to a factory reset to my computer, I think it defaulted back to a bigger size, and I have not remembered/found any tutorial helping me do so.... Thanks for your time

"Settings" > "Compiler Settings" > "Workspace" (or project)
Select language "Java" if not already selected.
Go to "HTML" tab.
Copy text, uncheck default box, paste text back in, change height and width.

Related

Change font of output console in Visual Studio?

I'm a beginner programmer using visual basic on visual studio working mostly with Consoles, and I would like to change the font size of the text that the compiler outputs displays when the code is compiled (not the text when I'm coding, those are fine). Here's what it looks like, compare it to the exit, minimise buttons and the file directory on the title bar for size references
Right now, the font size is like 8pt which is annoying.
Open the options window and go to the Fonts and Colors item. Select the window you'd like to change and then change the font-size to your liking:
You'll likely need to change multiple items, since each window uses its own settings:
Output Window
Command Window
Immediate Window
And possibly others.
To change the font size of the console that launches when you debug an application, you need to change the default font size for the windows console.
Start a command-prompt and then open the options screen
Set the font size:
This will apply to all consoles that open in the future.
None of the solutions suggested by jessehouwing worked for me (using Visual Studio 2017).
What did work was running a console program to open the console, clicking the small icon on the left in the title bar of the console window, clicking properties, fonts, and chosing the preferred font size.
After running and seeing the console windows,
In VSC 2019 go to File -> Preferences -> Settings -> Features -> Terminal and find option of font-size and change to apropriate value for your needs.Question isnt really clear what you exactly need but for all settings of font-size-s is pretty the same path to the solution.

Multiple "right margins" or guides in PHPStorm

PHPStorm has a vertical line on what they call the "right margin" which is set by default to 120 characters or columns...
Given that PSR standards state There MUST NOT be a hard limit on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less., it'd be nice if I could get another visual indicator at the 80 character mark...
I'm well aware that it says what line/column you're on in the status bar, but I typically hide most panels (status bar included) while coding.
Therefore, is there a way (feature or plugin) that would allow me to add a 2nd vertical line to indicate the 80th column?
It is not currently possible .. and no plugin comes into my mind.
https://youtrack.jetbrains.com/issue/IDEA-99875 -- star/vote/comment to get notified on progress.
P.S. Considering that this is rather PHP/Python specific (other languages do not care about this) .. I would not expect JB to have it implemented in nearest future...
I suggest the following workaround, it works for me on PhpStorm 9.0:
Open Settings page (usually Ctrl+Alt+S), go to Plugins -> Browse Repositories
Find and install BackgroundImage plugin
Restart IDE, it may output an error, something like "unknown protocol d" - don't worry, go forth
Make an image with height=1px, and width=(desired width of additional margin). Give it, say, white background and paint one rightmost pixel to say, black. I took a screenshot of an editor and cropped it in PS, to avoid annoying search and adjustment of the image width. Every change of background image requires to restart PhpStorm.
Open Settings again, goto Other settings -> BackgroundImage
Set Enabled checkbox, browse your created image, and check the FileSystem radio button
Restart IDE again and change the margin and you will get two margins
The image is left-aligned, so when you resize an editor on x-axis (move the splitter between Editor and Project View or File System View, etc.), the margin will remain truthy.
Some side-effects - it appears also on console window, event log, perhaps somewhere else.
If the plugin doesn't work, check out this page (there said that most JetBrains plugins should work on all products on IntelliJ Platform, and some workaround if they does not): http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
ADDED: Doesn't work with scaling an editor (Ctrl + MouseWheel) - the scale of the image (fake margin), remains the same and the margin becomes not truthy.
In the latest PHPStorm, this is now possible. This would be PHPStorm 2017.3. The instructions on the ticket mentioned in the accepted answer explains it quite well:
Will be available in the next EAP build. You can set it up at
Settings|Editor|Code Style|Visual guides for all languages or on
"Wrapping and Braces" tab for a specific language ("Other" tab for
XML/HTML). You can change the visual indent guide color at
Settings|Editor|Color Scheme|General|Guides|Visual guides. Please
submit separate reports if you find any problems.
I personally found the setting in Settings|Editor|Code Style|PHP|Wrapping and Braces|Visual guides. It should be there for every language.

IntelliJ IDEA 13.1.2 javadoc and tabs

I hate to ask such simple questions, but nothing I found so far helped me...
So, I've recently started using IntelliJ instead of Eclipse and there are 2 things that really bothers me...
1.) size of javadoc popup window - ok, so I finally get this little guy to pop-up whenever I need it, but it's so small I have to use scroll every single time... and that's pretty anoying when I'm working with unknown libraries...
2.) tabs == spaces - maybe some of you like this, but I don't... Eclipse was treating tabs as tabs and not spaces... I tried to change settings but with no result... or is that maybe connected with project I'm working on? (meaning, if, at the start of a project, setting were such that tabs == spaces and now changes are not applied to it)
Sorry for stupid question but, as I said, nothing I found so far helped me...
1) Just resize the window with your mouse. It will retain the size the next time it opens. You can also click on the gear icon in the upper right corner and adjust the font size. Again, it will retain the size on subsequent use.
2) I'm assuming you make the change to the "Use Tab Character" option on the "Tabs and Indents" tab for all file types and saved the Code Style. After that, you need to run the Reformat Code action (Ctrl+Alt+L or Code > Reformat Code from the menu or Reformat Code from the context menu (i.e. right-click) in The Project Tool window or Navigation Bar). IDEA retains the previous formatting (so spaces in this case) until you run a reformat on the project (or a part of it).
If you have multiple projects already created, for each one, you will need to go into File > Settings > [Project Settings] > Code Style and set the Scheme (and then do a reformat). While the Scheme definition is saved IDE wide, the scheme to use is set per project (which makes sense since an Apache Open Source project you are working on may have different code style requirements than the projects you do at work vs the ones you do for fun).
Finally, you will also want to go into File > Other Settings > Default Settings > [Template Project Settings] > Code Style and make sure your saved code style scheme (with the use tab option) is set so that new projects use that scheme when they are created.

Icon is not shown in the taskbar

On other forms, the icon is shown in the taskbar but only in this form, the icon is not shown in the taskbar.
I also made sure that there is an icon in the form's property.
Right Click the Project file and Select Property as follows
Now Change the default Icon here
Have you run the program from the exe in the debug/release folder.
I've found that the icon doesn't show in the taskbar when run from the debugger.
Edit: Just realised how old this is.
Well, hopefully this will help someone else.
To change the main icon for your application, go to the "Application" tab under the project property page, and change the "Icon:" combo box.
You can change icon form from properties form like this picture.
You need to change icon of application from Project Properties -> Application -> Icon
In properties of the form, browse for an icon in the icon tab.
Make sure that the picture you are using is in .ICO format. Sometimes, in newer versions, the language accepts images other than .ICO format but can produce error and doesn't display correctly everywhere.
Make sure that the .ICO you have converted is in more than 1 or 2 sizes (.ICO files have many resolutions in just one file).
I hope you understand!
In addition to other answers here, make sure that the 'ShowInTaskbar' property on the form is set to true. Sometimes settings get toggled. Toggle it back.

How to increase font size in NeatBeans IDE?

I just bought a new monitor that's rather large and I am having a lot of trouble reading the text on my editor. I tried increasing the font size the usual way by going to
Tools >> Options >> Fonts & Colors >> Clicking the "..." button next to font >> and then choosing a large font size
This is the result: (click for full size)
As you can see the cursor becomes a lot larger but the font size remains the same. Does anyone know another way to effectively increase font size in NetBeans?
you might also want to change your font size for other parts of the IDE (other than the code).
Just add the parameter --fontsize <size> (default size is 11) to the startup command.
You can put it into the command line when launching IDE. You can also put it into the netbeans.conf file, which is in the /etc subdirectory of NetBeans installation.
Just place it as a last parameter into the netbeans_default_options parameter.
To increase the font size of netbeans 7.3.1 and 7.3 , you go from menu
Tools>>Options>>"Fonts & Colors" (is an inner menu in the dialog window of Options)
At the "Syntax" tab ,every entry in the "Category:" list-box ,you will notice that the font has the value "Inherited".
If you find in the "Category" list-box the entry with the name "Default" and change the font value of that, you will affect the font size of your editor, because everything is inherited from "Default" entry .
Another method is to increase temporary the font of the editor by a combination of keys.
To find what are the keys go to the "Options" dialog window by
Tools>> Options
and then choose the "Keymap" menu entry
and then in the "Search" textbox type "zoom text" and it will show you what combinations of keys for zooming in /out.
for example mine is the combination of "alt" key + mouse wheel up/down
1st Way:
press down Alt+z and scroll up or down (mouse wheel)
2nd way:
press down mouse scroll(wheel) button and scroll up or down
At Windows in the file C:\Program Files\NetBeans x.x\etc\netbeans.conf
Add "--fontsize [size]" at the end of line netbeans_default_options:
netbeans_default_options=".... --fontsize 16"
Check this image with red arrow direction
Tools >> Options >> Fonts & Colors >> Syntax tab. Select 'Default' from the Category list and click the ... button like you said.
It's the Default you need to select first before changing the size.
In OS X, Netbeans 8.0
Use Command + , to open the options
Select Fonts & Colors tab
Click the button in the Font section (button is next to the Font textbox)
Change the Font, style and size as needed
The solutions here just increase editor font size. You can run netbeans with parameter netbeans --fontsize 20 You can edit windows link like this for example. "C:\Program Files\NetBeans 8.0.2\bin\netbeans64.exe" --fontsize 20
Alt + scroll wheel will increase / decrease the font size of the main code window
press alt and scroll down or up to change the size
I would upgrade to newer Netbeans 7.1 or wait few days/weeks for 7.2, it can be a bug in Netbeans 6.8.
I just add to previous two solutions, that you can increase size temporary with ALT(CTRL) + mouse wheel as in browser. (ALT in Netbeans 7.2, CTRL in Netbeans 7.1)
Tools -> Options -> Fonts & Colors -> then click on Font browse option. Now you will see a popup box. Here you can change Font:, Font Style: and Size:
I had tested it.
Go to Tools|options|keymap.
Search for 'zoom in text' and set your preferred key.
I've set alt+plus and alt+minus.
When i modify the font size in Tools-> Options->Fonts & Colors->Syntaxto 14, the Editor font change fine, but Netbeans doesn´t take any change in fontsize IDE (icons, menus, ...) until i Add the --fontsize XX option in the file ...\NetBeans x.x\etc\netbeans.conf at the end of line netbeans_default_options AND set to true the already added option -J-Dsun.java2d.dpiaware, But i had to increase the font size Editor to 24. Thats works for me.
You can create your own shortcut for increase/Decrease Netbeans Fonts size
just goto Tools > Options > Keymaps than search zoom
click on three (...) dot and click Edit
press your_shortcut_keys ( what ever shortcut you want to set)
For full control of ANY (non simplest editor, non head of tree) ui elements I recomend use plugin UI Editor for NetBeans
To set fonts and colors for displaying help pages:
1.From the main window, choose File > Open File.
2.In the Open dialog box, navigate to IDE-install-directoryide/docs/org/netbeans/modules/usersguide and open the file ide.css.
The ide.css file is the style sheet that describes how to present the fonts and colors in the help pages.
3.Edit ide.css to your preferences.
4.Choose File > Save.
5.Open the help viewer and verify your changes.
Literally NONE of these worked for me.
I am using NetBeans 11.1 on Linux. I found the solution by searching the Options menu. The issue was the IDE Theme- which has an "Override" font size.
Tools > Options > Appearance > Darcula Look And Feel
Uncheck "Override Default fonts by [ Dialog 10 ]"
(OR increase the override font to a bigger size)
Hit OK
Exit and restart NetBeans!
Your environment preferences should be saved for future NetBeans sessions!