I am learning Java using Eclipse - started a project with javax.swing and could view a design page with my page layouts shown and various palets for components etc. Now this design page seems to have vanished and I cant discover any option to recover it. I hope someone can get me back on track.
Have you tried Right-click on class (for example MySwingPanel.java) in package editor Open With->WindowBuilder Editor?
The last time you selected something in Open With - this is the editor to open that file on double click.
Have you tried changing the Perspective? Click the arrows next to the DDMS tab in the upper right hand corner of Eclipse and select the 'Java' Perspective.
Related
I launched my eclipse IDE (Version 4.15.0), have been using it to code in java and everything has been working fine. When I wanted accessing the preference window under Eclipse > Preferences, the window opened perfectly fine but the titles which are usually on the left pane that enables you browse through the dialogue pages weren't there.
Please how can I fix this?
#Arvind - I am also facing the issue. As a workaround, I clicked on search button, which is on the right hand side of the toolbar. And then type "Preferences". Now, you can select your choice of preferences. Cheers.
I was using Java in Eclipse 8 and I accidentally opened this debug perspective. I want to exit this debug perspective, but I don't know how.
Thanks!
As already many authors mentioned, you can click on "java"-perspective tab. You can read more about eclipse in official user guide.
There are also a plenty of resources on web with eclipse guides/introductions/tutorials.
You see a box named java at the right top side? i.e, between quick access and debug texts. Click it! :)
You can use java button right corner to come back to regular java perspective.
In MyEclipse go to the Top-Right corner. Switch to the required mode using the following Buttons:
Open perspective
Debug perspective
Java perspective
MyEclipse Java Enterprise perspective
Right top corner! You prolly used the shortcut ;-)
Right Click the project and Open Properties.
Then Select Run/Debug Setting from there you will find all the launch Configured.
Delete all the launch and Run the application.
On the top right of your window you see that the "Debug" button is active.
To the left of it there is a button for the usual "Java" perspective. You just need to click that :)
Right now I am working on a GUI application In java using the GUI builder that comes with NetBeans.
However I have found some kind of strange bug/feature, as I am no longer able to see the window that allows users to change between "source" and "design" (Design is the drag and drop NetBeans gui builder while source is the code where you can add your own methods and so forth).
NOTE: the red is censored information that is not necessary.
When I right click on a component to add event code, then it takes me to the source (without a window for me to change back to design, it goes back to design when i close and reopen it). So I know that NetBeans recognizes that this is indeed a JFrame form with the NetBeans GUI designer, and the source code is indeed availible..
I could not find any answers to this question on this site or on the web, I have tried resetting the windows but it did not work, I also couldn't find the window when I clicked on the window option. I am sure there is some easy question but I am unable to find it. Please forgive me if this was an easy question.
On the menu bar, try clicking View -> Show Editor Toolbar
Could somebody tell me if it is possibile to open two instances of the same project in Intellj IDEA or can I for example have two windows with opened different project files with attached project explorer.
I asking for that because I have two monitors and it will be more efficient to navigate on each windows separately.
For now I must drag tab from root window and drop to another window which it is annoying and unhandy.
This is not possible. IntelliJ IDEA has a one project one window paradigm.
Some suggestions, in order of best to worst, that may help:
The navigation bar (Alt+Home or ⌥⇱ {Option Home}) can be used in place of the project tool window. You can use it either in pop-up mode or anchored mode (View > Navigation Bar). When a file is opened via the navigation bar, it opens in the window that has focus. The nav bar is ultimately a horizontal project window. Check the help documents for how to easily navigate through the nav bar. Once you get use to it, you may find you never use the project tool window again.
Have you tried floating the project window and placing it on the edge of one of the monitors so it sites between the two editor windows? While you would still need to drag file to the second editor window, it might prove easier.
You could create a second project with the all the same modules as the first project (just being sure to save the second project's .idea configuration directory in a different location). But this would require keeping two project configurations in sync, and you would need to make sure the "synchronize files on frame activation" setting is on. In the end, I think that is far more hassle then it is worth.
Hope that helps.
(FYI, I may be new to StackOverflow, but I'm a ten year passionate and evangelical IntelliJ IDEA user.)
I have to develop a simple breadcrumb control using SWT which shows hierarchy of the system folders opened so far in a bar at the top and all the folders present at the current location in a window below. Folders should be hyper linked so one can click to move into them further. From where should I start?
As for the visual part, you can use the Breadcrumb widget from the Opal project.
It looks like this:
To handle selection, just add a SelectionListener to each of the BreadcrumbItems.
Note that this is not a "hire a programmer" page, so don't expect complete solutions to your problem. If you have specific questions, we are more than happy to try to answer them :)