How to split-view design and source in Netbeans GUI builder - swing

Short and simple, is it possible to view the source and designer at the same time with Netbeans GUI builder?
Even if there's no real straightforward way, I would like to know if someone has any ideas for workarounds, like opening the form in multiple tabs for example.

Open the form so it's displayed. Right click it's name tab and select clone.
You should now have two tabs with the same name, representing the same class.
On one of the tabs, click "Source".
Now you can "re-dock" the second/cloned view anywhere you want.

Related

How to copy all text from website + pop up windows?

There's a web page with loads of contact info that I would like to copy to my clipboard and paste into an excel doc. The problem is that in order to display the info (phone, email, title, company, etc...) you have to click on the contact name and then a little blurb comes up (similar to a business card) that shows all info. Thus, I am unable to select all and copy and would have to do this one by one. There are thousands of contacts, so obviously this would be impractical. The hyperlink does not change when I click the blurb.
I'm wondering if there's a workaround to this - is there a program I can use that can extract the info from all of these small blurb-type pop ups that come from one page?
Any help is appreciated.
There is no systematic way to crawl web pages, as it depends on how it was developped.
But you can try this :
Click on one such pop-up.
With the "dev tools" of your browser, inspect it and find anything you can use to identify this pop-up (for instance it may have a certain class or name).
Then, look for this class (or name) in the source code : all the other pop-ups may be there.
If so, you can do some text parsing to get the info you want.
Finally, you can use something like "search and replace" in a text editor to display the result in an Excel-friendly way.

How to create and refer to anchors in SSRS, Report Designer or Report Builder

I've done this numerous times in XHTML but I am not sure if it is possible to do in SSRS Reports: I am trying to create a (link) list that allows a user to click on and be moved to another point WITHIN that same report. Is this possible to create anchors and do this just like you would in XHTML? Thanks a lot!
(tools that are available to me are SSRS in BIDs 2008 environment as well as Report Builder 3.0)
You could use bookmarks.
First you add bookmarks to the points in your report you want a user to be able to jump to. Select the report item you want to jump to and in the properties pane find the Bookmark property and type a unique name in here for the bookmark.
Then add a Textbox or Image that the user would click on to take them to that bookmark. In Design view right click on this item and select the Properties option.
In the properties window select Action from the left hand side.
Choose Go to bookmark then in the Select bookmark box type the name of your bookmark that you created earlier.
OK this and you should be good to go.

Command Button Wizard doesn't start

I want to create a navigation button on a web form. (I use MS Access 2010 - Web database). I dragged the button on the form (the Control Wizard option is selected) but the Command Button Wizard does not show up
I double clicked on the button, but it just let me to edit button name. I also tried to click anywhere on the form - still nothing
How do I show Command Button Wizard Menu for my "Command120" button??
You have to enable the control wizards first. Go to the drop-down arrow at the end of the control group on the design ribbon and select use control wizards. Then insert the button again.
I had the same issue. I created the button the form in design mode and this seemed to get it working in layout mode again.
After all of the answers above, I still could not get it to work. What appears to be the problem in my case is that the wizard will not work inside of sub-forms. The solution is to:
Open the sub-form directly instead of designing it inside the parent form.
or
Create the button on the parent form, then cut or paste it to the
sub-form.
So this is a really old question and but I have found out the answer to the problem and will share in hopes that it may help someone in the future.
If the form is a "Web Form" the control wizards do not work. It must be a standard form. As far as I can tell there is no indication of this anywhere. To see the difference see the image below.
The form on top is a regular form and the one whereas the one on the bottom with the little globe is a web form. In order to create this kind of form Go to the create Tab and DO NOT select the options in the menu. You must select blank form from the Client Forms drop down as shown below.
There you will find the option to create forms that don´t have the little globe and those are the forms that work with the control wizards. Hope this helps someone else! This was a real pain to discover.
Enable the "Use Control Wizards" At Design tool tab.
Then add the button to Design are.
That's all
Make sure your wizard button in the drop down arrow is on if it is turn it off and then turn it back on then recreate your button. That worked for me in a layout view. Good Luck!!
If Sandy's answer didn't work for you, try to switch first to Layout View then proceed.
It worked for me.
I actually landed here looking for a solution. While I didn’t find it here I did figure out what I was doing wrong.
The action wizard only works with boundControls. So the area you are trying to use is not connected to a relevant table or field.
1st off make sure that you have the wizard activated/Turned on then proceed.
Option 1 [From LayoutView]
I was able to get the wizard to work by 1st deleting the button.
Then delete the cell you are dropping the button onto.
Then I stretched the cell with a field name to the right where I wanted my button.
Then I split the fields Horizontally.
Last I dropped the button on the cell I just created adjacent to the field & voilà the wizard came-up.
Option2 [From DesignView]
Again remove what isn’t working 1st. Then drop the button where you want. The wizard should pop right up. The button won’t be where you wanted it to be, but you can always move it once you get it setup.
I read that you tried it in DesignView & it worked, but crashed Access & you lost your Macros, so just a reminder to everyone try this with a copy or test db.
HTH
Links I found helpful.
+--------------------------------------------------------------------
https://stackoverflow.com/a/13010098/6158704
https://support.office.com/en-us/article/Introduction-to-controls-4a8cf5f2-d739-4ae9-b1e0-510c3f4d6975
+--------------------------------------------------------------------

Dojo/HTML equivalent for list box control

We are porting our MFC based client to Dojo. Is there any widget similar to listbox control. At present I am using DataGrid, but that seems heavy and overkill for our purposes. Alternatively what is best widget to replace listbox.
Update: I have already looked at dijit.form.multiselect, and I dont think that meets my requirement. MFC Listbox typically looks like this. I dont see (or rather dont know) how to replicate this with multiselect. It is possible that DataGrid is best fit for the control.
If you use dojo 1.7, take a look at the new DGrid.
For an example looking like yours, go to the tests page and pickup the Selector.html example.
Here are some options depending on which part of the ListBox you want to create:
dijit.Dialog to create a basic dialog box.
dijit.form.FilteringSelect to create a drop-down with your options (single select only).
You could also use radio buttons or checkboxes for your options depending on whether multiple selections are allowed.

Access 97 - how to edit/explore existing toolbar?

My current job is updating an existing Access97-Project. I haven't worked with Access in a long time and i can't find out, how i can explore a toolbar called "sbmbDrucken" which is obviously user-created. I just need access to the action or the code which is called by the buttons...
Is there any menu entry i missed or do i need special code for self-inspection?
TIA!
There are three different ways for menus/toolbars to be instantiated:
the old way, using macros. Before A95, this was the only way, so a lot of older apps (i.e., those converted from earlier versions) may still use macros for the menus.
defining them by hand, using the CUSTOMIZE function that you get when you right click on a toolbar in Access.
in code, using the Application.Commandbar object.
For the first you can browse your macros and see if any of them are menu macros.
For the last, you can do a search in the code for CommandBar.
For the second, just look at them through the built-in menu customization tools. Keep in mind that you may have to check them off to get them to be visible, and that the list is in no rational order. Likewise, some menus/toolbars are hidden from the customization interface. Also, you might need to look at the CUSTOM toolbar menu item.
I don't have Access 97 on hand but you may take a look of this webpage: http://www.alvechurchdata.co.uk/hints-and-tips/accaddtoolbar.html
It seems that "user-created" toolbars could be defined by handwritten code at form.load or somewhere similar. You may search CommandBars.Add and see if you can find those relevant code segments.
Hope that helps.
In the design mode, you will be able to see the toolbar & actions assigned to each of the button.
Right click on the specific toolbar
Click on Customize...
Right click on the button you would like to edit the action of.
You will be able to see the action (which could either be macro or code).
Let me know, if that doesn't help at all.